• 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
NSURLRequest- setHTTPMethod to REPORT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLRequest- setHTTPMethod to REPORT


  • Subject: NSURLRequest- setHTTPMethod to REPORT
  • From: Chris Purcell <email@hidden>
  • Date: Fri, 29 May 2009 14:10:57 -0700

Hello,

I'm trying to issue a "REPORT" request to a server, the HTTP Method header needs to look like this:

REPORT /bernard/work/ HTTP/1.1

So I use setHTTPMethod to set the HTTP Method: [theRequest setHTTPMethod:@"REPORT /bernard/work/"];

But when I issue the request, the server returns an error, because there is an extra / in the request line:

Bad request line: REPORT bernard/work/ / HTTP/1.1



Am I doing this the wrong way or is this not possible?

Thanks,

--Chris
_______________________________________________

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: NSURLRequest- setHTTPMethod to REPORT
      • From: Jason Foreman <email@hidden>
  • Prev by Date: Help needed with setting autoresizing masks
  • Next by Date: Re: NSURLRequest- setHTTPMethod to REPORT
  • Previous by thread: [SOLVED} Help needed with setting autoresizing masks
  • Next by thread: Re: NSURLRequest- setHTTPMethod to REPORT
  • Index(es):
    • Date
    • Thread