Re: Set user agent for NSURL
Re: Set user agent for NSURL
- Subject: Re: Set user agent for NSURL
- From: Nicko van Someren <email@hidden>
- Date: Mon, 17 Nov 2008 10:31:49 +0000
On 17 Nov 2008, at 09:10, Scott Anguish wrote:
On 17-Nov-08, at 12:50 AM, Mr. Gecko wrote:
Hello I am working on a website crawler and I am needing to make a
user agent string so people who monitoring who visits can know that
my crawler visited.
It sounds like you're getting data just using NSURL.
You can get much more control (including specifying the agent) using
NSURLConnection and creating an NSURLRequest.
In case you are not used to such things, specifically you'll need an
NSMutableURLRequest.
Nicko
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden