• 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: NSHTTPURLResponse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSHTTPURLResponse
      • From: Scott Anguish <email@hidden>
References: 
 >Re: NSHTTPURLResponse (From: Scott Anguish <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Re: Cocoa Command Line Application
  • Previous by thread: Re: NSHTTPURLResponse
  • Next by thread: Re: NSHTTPURLResponse
  • Index(es):
    • Date
    • Thread