• 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: setHTTPMethod: with PUT and DELETE methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setHTTPMethod: with PUT and DELETE methods


  • Subject: Re: setHTTPMethod: with PUT and DELETE methods
  • From: Rod Schmidt <email@hidden>
  • Date: Thu, 11 Oct 2007 09:04:44 -0600

In the PUT case I get back a 405 error, which is resource not allowed. In the DELETE case, I get a 200 back which means OK, but the server didn't actually do anything. I'm interacting with 37signals' Backpack API. At this point I'm thinking its 37signals' problem, but from what I saw in the archive, I'm not sure NSMutableURLRequest works with these commands.

Rod

On Oct 11, 2007, at 7:07 AM, Jonathan del Strother wrote:


On 11 Oct 2007, at 04:04, Nick Zitzmann wrote:


On Oct 10, 2007, at 8:26 PM, Rod Schmidt wrote:

I've searched the archives and have seen how PUT doesn't work with NSMutableURLRequest. That was awhile ago. Is that still the case? I'm also interested in if the DELETE method works.

NSURLRequest only supports HTTP GET and POST. If you need to do WebDAV-style operations, then you'll need to use a different library.



PUT & DELETE seem to be working fine for us on 10.4.10. In what respect don't they work?

_______________________________________________

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: setHTTPMethod: with PUT and DELETE methods
      • From: Tony Becker <email@hidden>
    • Re: setHTTPMethod: with PUT and DELETE methods
      • From: Jonathan del Strother <email@hidden>
References: 
 >setHTTPMethod: with PUT and DELETE methods (From: Rod Schmidt <email@hidden>)
 >Re: setHTTPMethod: with PUT and DELETE methods (From: Nick Zitzmann <email@hidden>)
 >Re: setHTTPMethod: with PUT and DELETE methods (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Re: NSOpenPanel & NSFileTypeForHFSTypeCode
  • Next by Date: Re: Compositing over live video examples
  • Previous by thread: Re: setHTTPMethod: with PUT and DELETE methods
  • Next by thread: Re: setHTTPMethod: with PUT and DELETE methods
  • Index(es):
    • Date
    • Thread