大网数据广告活动
Web服务器与PHP

HTTP error 501 when you use unknown methods

· 52CE 我爱测

This article discusses a by-design HTTP 501 error when you use an unknown method from an Internet client.

This article discusses a by-design HTTP error 501 that occurs when you use an unknown method from an Internet client.

Original product version:   Internet Information Services (IIS)
Original KB number:   247643

Symptoms

When you attempt to use an unknown method from an Internet client, the following error message occurs:

HTTP/1.1 501 Not Implemented

Cause

This behavior is by design. Microsoft Internet Information Services (IIS) only supports the methods defined in RFC 2616 - Hypertext Transfer Protocol--HTTP/1.1 and RFC 2518 - HTTP Extensions for Distributed Authoring--WEBDAV. The methods are listed in the following table:

Method Protocol RFC Section
CONNECT HTTP 2616 9.9
COPY WEBDAV 2518 8.8
DELETE HTTP 2616 9.7
GET HTTP 2616 9.3
HEAD HTTP 2616 9.4
LOCK WEBDAV 2518 8.10
MKCOL WEBDAV 2518 8.1
MOVE WEBDAV 2518 8.9
OPTIONS HTTP 2616 9.2
POST HTTP 2616 9.5
PROPFIND WEBDAV 2518 8.1
PROPPATCH WEBDAV 2518 8.2
PUT HTTP 2616 9.6
TRACE HTTP 2616 9.8
UNLOCK WEBDAV 2518 8.11

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 07/17/2020
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。