Re: NSHTTPURLResponse
Re: NSHTTPURLResponse
- Subject: Re: NSHTTPURLResponse
- From: Koen van der Drift <email@hidden>
- Date: Mon, 7 Jul 2003 21:26:14 -0400
On Monday, July 7, 2003, at 02:16 PM, Scott Anguish wrote:
it can only create a file on disk (that's the purpose of
NSURLDownload, to download it to disk)
If you're using NSURLConnection, just implement
-connection:willSendRequest:redirectResponse: and test the
NSURLResponse there.
I tried that, as described in the documentation, but this method never
gets called.
Maybe this method only gets called with specific returns (eg 404)? I
still can see that the website gives an error message, maybe it's not
done through a redirect, which might explain why the method never gets
called.
Maybe I should use NSURLHandle or CURLHandle - would that be more
useful in this case?
thanks,
- Koen.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.