Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which browsers don't support a HTTP DELETE with jQuery.ajax? [duplicate]

Possible Duplicate:
Are the PUT, DELETE, HEAD, etc methods available in most web browsers?

The jQuery documentation for jQuery.ajax() says the following:

Note: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers.

jQuery itself says it supports IE 6.0+, FF 2+, Safari 3.0+, Opera 9.0+ and Chrome. So which (if any) of the above does not support an HTTP DELETE?

like image 772
marc.d Avatar asked Nov 18 '09 16:11

marc.d


1 Answers

The short answer is:

All recent browsers (and even old ones) support HTTP DELETE.

It's not clear why there is this note in the jQuery documentation, unless they are referring to very old browsers like Netscape 1 or IE 2.

For information, I've tried an ajax DELETE request in IE6 and even with this browser it works. If it works with IE6, it's safe to assume it works with any other browser.

like image 127
laurent Avatar answered Oct 23 '22 09:10

laurent