• 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: NSURLConnection inserting Accept-Language and Accept headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection inserting Accept-Language and Accept headers


  • Subject: Re: NSURLConnection inserting Accept-Language and Accept headers
  • From: Mark Pauley <email@hidden>
  • Date: Mon, 21 Sep 2009 11:49:27 -0700

Thanks for the report. You may be able to cut them out of the request during the willSendRequest delegate message handler, which is called just before we send any request.


On Sep 21, 2009, at 10:09 AM, Michael C.Silva wrote:

Is there anyway to completely remove these headers from being inserted by NSURLConnection?

They are not present in my NSMutableURLRequest, but show up in the stream sent out by the NSURLConnection. I see no way to control this.

Thanks,
Mike
_______________________________________________
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

_Mark email@hidden




_______________________________________________ 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
  • Follow-Ups:
    • Re: NSURLConnection inserting Accept-Language and Accept headers
      • From: Quinn <email@hidden>
References: 
 >NSURLConnection inserting Accept-Language and Accept headers (From: Michael C.Silva <email@hidden>)

  • Prev by Date: NSURLConnection inserting Accept-Language and Accept headers
  • Next by Date: Re: NSURLConnection inserting Accept-Language and Accept headers
  • Previous by thread: NSURLConnection inserting Accept-Language and Accept headers
  • Next by thread: Re: NSURLConnection inserting Accept-Language and Accept headers
  • Index(es):
    • Date
    • Thread