• 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
Re: Set user agent for NSURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Set user agent for NSURL
      • From: John Pannell <email@hidden>
References: 
 >Set user agent for NSURL (From: "Mr. Gecko" <email@hidden>)
 >Re: Set user agent for NSURL (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: newbie NSMutable dictionary subclass question
  • Next by Date: Re: How to implement float min(float x, ...) ?
  • Previous by thread: Re: Set user agent for NSURL
  • Next by thread: Re: Set user agent for NSURL
  • Index(es):
    • Date
    • Thread