Re: Setting the NSURLDownload user agent
Re: Setting the NSURLDownload user agent
- Subject: Re: Setting the NSURLDownload user agent
- From: Nick Beadman <email@hidden>
- Date: Mon, 20 Apr 2015 11:37:52 -0700
Submitted radar://20619548 asking for a method to get the default user-agent string from NSURLRequest.
As for why I am using NSURLDownload rather than NSURLSession, it is quite simple I have to support OS X 10.8 and NSURLSession didn't appear until 10.9.
Does any one have any idea how I would write code to get the CFNetwork and Darwin versions? The only CF version number I have found is kCFCoreFoundationVersionNumber which isn't what I am looking for.
Thanks,
Nick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden