• 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: Tony Becker <email@hidden>
  • Date: Thu, 11 Oct 2007 11:49:14 -0400

Look in your web server logs (httpd) - that will tell you whether the request method is being made - and I'm sure it is.
The error returned, is from the web server - and that's a different problem then whether the client request supports other methods then GET/POST, which it does.


On Oct 11, 2007, at 11:04 AM, Rod Schmidt wrote:

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

_______________________________________________

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


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>)
 >Re: setHTTPMethod: with PUT and DELETE methods (From: Rod Schmidt <email@hidden>)

  • Prev by Date: Re: setHTTPMethod: with PUT and DELETE methods
  • Next by Date: Re: setHTTPMethod: with PUT and DELETE methods
  • Previous by thread: Re: setHTTPMethod: with PUT and DELETE methods
  • Next by thread: NSOpenGLView in NSScrollView problem
  • Index(es):
    • Date
    • Thread