but wouldn't that return the data of the file it self as well? Because I don't want the data because it's like 130MB and it'll take a long time to get the data just for a check...

On Jan 28, 2009, at 4:12 PM, Andrew Farmer wrote:

On 28 Jan 09, at 13:15, Mr. Gecko wrote:
yeah that wouldn't work for what I need, if I could just do NSHTTPURLResponse *response = [NSURLConnection responseForRequest:request]; that would work, but it's not in cocoa...

Actually, it is. It's just named slightly differently...

NSURLConnection sendSynchronousRequest:returningResponse:error:

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to