Re: [NSURLConnection connection:didReceiveResponse:] and 404
Re: [NSURLConnection connection:didReceiveResponse:] and 404
- Subject: Re: [NSURLConnection connection:didReceiveResponse:] and 404
- From: Quinn <email@hidden>
- Date: Tue, 8 Dec 2009 10:54:58 +0000
At 11:38 +0100 8/12/09, Stéphane Sudre wrote:
When you receive a 404 response through
connection:didReceiveResponse:, is it possible
to skip the reception of the data (i.e. the HTML
body describing the error)?
I'm not sure whether it's possible to skip the
reception of the data, but it's certainly
possible to not hear about that data. I do this
in SimpleURLConnections.
<http://developer.apple.com/iphone/library/samplecode/SimpleURLConnections/listing5.html>
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden