• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSUrlResponse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: NSUrlResponse (From: Mark Ackerman <email@hidden>)

  • Prev by Date: Re: Drawing an NSImage into a GWorld
  • Next by Date: Predicate Problems
  • Previous by thread: Re: NSUrlResponse
  • Next by thread: [textView drawRect:whichRect]
  • Index(es):
    • Date
    • Thread