哪些浏览器不支持HTTP DELETE与jQuery.ajax? [英] Which browsers don't support a HTTP DELETE with jQuery.ajax?

查看:826
本文介绍了哪些浏览器不支持HTTP DELETE与jQuery.ajax?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
  <一href="http://stackoverflow.com/questions/165779/are-the-put-delete-head-etc-methods-available-in-most-web-browsers">Are在PUT,DELETE,HEAD等在大多数Web浏览器可用的方法?

jQuery的文档jQuery.ajax()说以下内容:

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

注:其他的HTTP请求方法,例如   作为PUT和DELETE,也可以使用   在这里,但它们不支持   所有的浏览器。

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

jQuery的本身说,它支持IE 6.0+,FF 2+和Safari 3.0+,歌剧9.0+和Chrome。 所以,这(如果有的话)的上述不支持HTTP DELETE?

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?

推荐答案

简短的回答是:

所有最新的浏览器(甚至是旧的)支持HTTP DELETE。

目前尚不清楚为什么会存在这种注意jQuery的文档,除非他们指的是很旧的浏览器如Netscape 1或IE浏览器2。

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.

有关信息,我已经试过了AJAX DELETE请求在IE6,甚至与这个浏览器,它的工作原理。如果它与IE6,它是安全的假设它与其他任何浏览器。

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.

这篇关于哪些浏览器不支持HTTP DELETE与jQuery.ajax?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆