Gah. I should clarify. When I said Safari works, I mean that I've used it successfully in the past, not that this particular test worked. (Which Brad is right, it doesn't.)
TAG On Dec 17, 2006, at 12:01 PM, Brad Ediger wrote: > > > On Dec 17, 2006, at 12:53 PM, Mislav wrote: > >> >> Prototype framework supports IE6+, Firefox, Opera and Safari, >> right? I >> have recently put up a simple test case of supported HTTP methods >> here >> (after you open the page please give it a minute for the script to >> finish): >> >> http://admin.ipo.hr/rails/test/ >> >> Turns out all of these browsers support PUT and DELETE out of the box >> (except Safari, I didn't have the chance to test that one - anyone?). >> So why do we still emulate these methods with "_method" parameter >> over >> POST? > > (1) We don't want to rely on XHR for HTTP requests -- we want the > browser to make them. > (2) Many HTTP proxies don't support PUT, DELETE, PROPFIND, etc... > > And by the way, Safari fails... that's pretty much a showstopper in > the Rails community. > > GET: OK > POST: OK > HEAD: fail (got GET) > PUT: fail (got GET) > DELETE: fail (got GET) > PROPFIND: fail (got GET) > PROPPATCH: fail (got GET) > MKCOL: fail (got GET) > COPY: fail (got GET) > MOVE: fail (got GET) > LOCK: fail (got GET) > UNLOCK: fail (got GET) > VERSION-CONTROL: fail (got GET) > REPORT: fail (got GET) > CHECKOUT: fail (got GET) > CHECKIN: fail (got GET) > UNCHECKOUT: fail (got GET) > MKWORKSPACE: fail (got GET) > UPDATE: fail (got GET) > LABEL: fail (got GET) > MERGE: fail (got GET) > BASELINE-CONTROL: fail (got GET) > MKACTIVITY: fail (got GET) > ORDERPATCH: fail (got GET) > ACL: fail (got GET) > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
