Re: NSUrlResponse
Re: NSUrlResponse
- Subject: Re: NSUrlResponse
- From: Jerry Krinock <email@hidden>
- Date: Tue, 12 Jul 2005 11:58:22 -0700
on 05/07/11 05:12, Mark Ackerman at email@hidden wrote:
> On Jul 11, 2005, at 6:18 AM, Marco Maniscalco wrote:
>
>> Can anyone tell me how to retrieve a HTTP header field
>> from a NSURLResponse?
>
> Is the NSURLResponse actually a NSHTTPURLResponse (sublcass of
> NSURLResponse)?
In a case where I did not know, I wrapped it with a -respondsToSelector
if ([response respondsToSelector:@selector(allHeaderFields)])
{
...
_______________________________________________
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