[Prototype-core] Why is Ajax.Request is limited to POST and GET

2008-04-11 Thread bubbatls
In order to make an specific application, I had to use http PUT and http DELETE methods. To do that i just had to remove from prototype, the code that replace those methods by POST. And adding the push of the body of the request when using PUT (like in POST) I can't understand why this behaviour

[Prototype-core] Re: Why is Ajax.Request is limited to POST and GET

2008-04-11 Thread Mislav Marohnić
We emulate PUT and DELETE over POST because most browsers didn't support other methods than GET or POST. But now, it seems like all of officially supported browsers do. Here is the list of all HTTP methods: GET, POST, HEAD, PUT, DELETE, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK, VERSIO