Re: NSURLDownload and server errors
Re: NSURLDownload and server errors
- Subject: Re: NSURLDownload and server errors
- From: Scott Anguish <email@hidden>
- Date: Tue, 1 Mar 2005 11:21:17 -0500
can you not get the information you need by implementing
- (void)download:(NSURLDownload *)download didFailWithError:(NSError
*)error
that'll give you the error...
or even better
- (void)download:(NSURLDownload *)download
didReceiveResponse:(NSURLResponse *)response
you can sock that response away and check it upon failure
On Mar 1, 2005, at 2:32 AM, Paul Forgey wrote:
How do I get the server error, normally available from an
NSHTTPURLResponse, from an NSDownload instance that fails with an
error? The NSURLResponse is only sent to the delegate if the
download is successful, and the NSError does not contain the
information of this detail. Is there any way to obtain the
NSURLResponse of a download that fails?
_______________________________________________
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
_______________________________________________
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