NSURLConnection connectionDidFailWithError: hides server response
NSURLConnection connectionDidFailWithError: hides server response
- Subject: NSURLConnection connectionDidFailWithError: hides server response
- From: John Fox <email@hidden>
- Date: Wed, 5 Oct 2005 14:01:35 -0700
Hello:
I'm scratching my head a little bit here.
If I use NSURLConnection to POST data to a server, and there's a
server side error, and I implement the delegate method:
- (void)connection:(NSURLConnection *)connection didFailWithError:
(NSError *)error
How do I get the actual response from the server. Using a packet
sniffer, I can see that there's an actual response which is
informative, but nowhere in the error can I find the actual server's
response.
Can some kind soul help me, please?
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden