Re:Rails 4.0: PATCH will replace PUT as the primary HTTP met...
by lparry on Sunday February 26, 2012 @02:55AM
(#3635110)
It's not an issue because web browsers only support GET and POST. Rails works around this by including a hidden field "_method" which contains the method the server should treat the request as.
[ Parent
| on HN ]
Re:Rails 4.0: PATCH will replace PUT as the primary HTTP met...
by justincormack on Sunday February 26, 2012 @04:07AM
(#3635204)
That's not true xmlhttprequest should support all methods but there are some quirks eg see http://www.mnot.net/javascript/xmlhttprequest/ to test though that does not cover PATCH.