• 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
Global User Agent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Global User Agent?


  • Subject: Global User Agent?
  • From: August Trometer <email@hidden>
  • Date: Sat, 23 Oct 2004 00:07:05 -0500

I'm looking for a way to set the User Agent for my application. In most cases, I use

NSDictionary *tempDict = [NSDictionary dictionaryWithContentsOfURL:[NSURL URLWithString:@"http://theURL.com";]];

This sends a null User Agent to the server, and I'd like to differentiate my fetches from those of other apps. However, unless I'm missing something, there doesn't seem to be a way to set the User Agent for a call at this level.

Is there any way to set some sort of global User Agent that _would_ apply to calls such as this?

Thanks!

August



_______________________________________________
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
  • Follow-Ups:
    • Re: Global User Agent?
      • From: John Pannell <email@hidden>
  • Prev by Date: Text architecture question
  • Next by Date: Re: Bug in NSArrayController? (immutable instead of mutable dictionaries)
  • Previous by thread: Re: Text architecture question
  • Next by thread: Re: Global User Agent?
  • Index(es):
    • Date
    • Thread