加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

web-server – IIS 7.5 Web日志中的OPTIONS方法到底是什么?

发布时间:2020-12-14 23:38:26 所属栏目:资源 来源:网络整理
导读:我知道什么是GET和POST,但谷歌几乎不可能选择OPTIONS这个词.这是我所看到的(我删除了最后的所有内容): 11/23/11 0:02:13 10.100.0.14 GET /CUpdate2.cshtml _=132200653349511/23/11 0:02:13 10.200.0.10 OPTIONS /AssignmentCount _=132200657679811/23/11
我知道什么是GET和POST,但谷歌几乎不可能选择OPTIONS这个词.这是我所看到的(我删除了最后的所有内容):
11/23/11    0:02:13 10.100.0.14         GET       /CUpdate2.cshtml  _=1322006533495
11/23/11    0:02:13 10.200.0.10         OPTIONS   /AssignmentCount  _=1322006576798
11/23/11    0:02:13 10.200.0.10         GET       /media/faxSound.wav   -
11/23/11    0:02:13 10.200.0.10         GET       /Star/StarUpdates _=1322006578729
11/23/11    0:02:13 10.100.0.10         GET       /CUpdate2.cshtml  _=1322006533268

解决方法

查看 this W3 Spec第9.2节:

The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI. This method allows the client to determine the options and/or requirements associated with a resource,or the capabilities of a server,without implying a resource action or initiating a resource retrieval.

This blog post也值得一读.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读