Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.


I stand corrected, I hadn't thought about js requests




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: