Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lparry
on Feb 26, 2012
|
parent
|
context
|
favorite
| on:
Rails 4.0: PATCH will replace PUT as the primary H...
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.
justincormack
on Feb 26, 2012
[–]
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.
lparry
on Feb 26, 2012
|
parent
[–]
I stand corrected, I hadn't thought about js requests
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: