Downloading files via HTTP with 304 support?
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