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, VERSION-CONTROL, REPORT, CHECKOUT, CHECKIN, UNCHECKOUT, MKWORKSPACE,
UPDATE, LABEL, MERGE, BASELINE-CONTROL, MKACTIVITY, ORDERPATCH, ACL
Firefox, IE 6 and Safari 3 support all of them. Opera 9.2 supports the five
most important ones: GET, POST, HEAD, PUT and DELETE.
This would go well with the "isSupportedBrowser" flag we once discussed
about setting on the "Prototype" object; we could emulate methods over POST
only if the "isSupportedBrowser" is false.
Konqueror, for instance, only supports GET and POST. If you have a browser
you'd like to test with, here is the test page:
I'd appreciate of someone tested in Safari 2, because that's the only
officially supported browser that I haven't tested with.
On Fri, Apr 11, 2008 at 2:26 PM, bubbatls <[EMAIL PROTECTED]> wrote:
> 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 was setted in the code. Why not
> allowing all methods? I've only checked on IE and Firefox and it is
> working fine.
> It would be really nice to allow all HTTP methods
You received this message because you are subscribed to the Google Groups
"Prototype: Core" group.
To post to this group, send email to email@example.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at