• 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
Downloading files via HTTP with 304 support?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Downloading files via HTTP with 304 support?


  • Subject: Downloading files via HTTP with 304 support?
  • From: Kevin Ballard <email@hidden>
  • Date: Thu, 23 Sep 2004 02:06:55 -0400

I have a need in my program to download a file upon startup. However, so as to avoid excessive bandwidth use, since this file won't update often, I'd like to have support for If-Modified-Since and 304 responses. I haven't looked into it much, but a cursory inspection of NSURLRequest and NSURLDownload makes me think it doesn't support adding an If-Modified-Since header to the request (because I can't find a way of adding arbitrary headers). And I don't want to have to write my own little HTTP client. So basically, is there a class out there that already does this for me, that lets me download a file (preferably asynchronously, but I can always throw it in a thread) and either supports If-Modified-Since or arbitrary headers?

Thanks,
Kevin

--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Prev by Date: Re: Initialize NSArray with C array?
  • Next by Date: Re: Safari-like View Change
  • Previous by thread: Newbie requires java assistance...
  • Next by thread: Re: Downloading files via HTTP with 304 support?
  • Index(es):
    • Date
    • Thread