Thanks Andy :)
---
Wilker LĂșcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
On Thu, Aug 11, 2011 at 12:46 AM, Andy Lee wrote:
> I think instead of NSURLResponse you want to use NSHTTPURLResponse, which
> has a statusCode method.
>
> --Andy
>
> On Aug 10, 2011, at 11:40 PM
I think instead of NSURLResponse you want to use NSHTTPURLResponse, which has a
statusCode method.
--Andy
On Aug 10, 2011, at 11:40 PM, Wilker wrote:
> I'm trying to get the response code from an synchronous http request, Im
> trying the following code:
>
>NSURLResponse *response = nil;
>
I'm trying to get the response code from an synchronous http request, Im
trying the following code:
NSURLResponse *response = nil;
NSData *data = [NSURLConnection sendSynchronousRequest:request
returningResponse:&response error:err]
But I can't find any method on NSURLRespond that has th