Skip to content

Commit

Permalink
Update files/zh-cn/web/http/status/510/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Feb 9, 2025
1 parent 28969a9 commit 11dd212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/zh-cn/web/http/status/510/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ HTTP **`510 Not Extended`** [服务端错误响应](/zh-CN/docs/Web/HTTP/Status#

### 扩展不受支持

在以下示例中,客户端发送了一个请求,并在 `C-MAN` 标头中指定了强制扩展。{{HTTPHeader("Connection")}} 标头指定这些扩展应基于[逐跳(hop-by-hop)标头](/zh-CN/docs/Web/HTTP/Headers#逐跳(hop-by-hop)标头)进行处理。{{Glossary("Proxy_server", "代理")}}转发了扩展请求,但在传输过程中 {{HTTPHeader("Connection")}} 标头被移除。由于源服务器未收到有关 `M-GET` 方法的任何信息,因此它发送了 `510` 作为响应:
在以下示例中,客户端发送了一个请求,并在 `C-MAN` 标头中指定了强制扩展。{{HTTPHeader("Connection")}} 标头指定这些扩展应基于[逐跳标头](/zh-CN/docs/Web/HTTP/Headers#逐跳(hop-by-hop)标头)进行处理。{{Glossary("Proxy_server", "代理")}}转发了扩展请求,但在传输过程中 {{HTTPHeader("Connection")}} 标头被移除。由于源服务器未收到有关 `M-GET` 方法的任何信息,因此它发送了 `510` 作为响应:

```http
M-GET /document HTTP/1.1
Expand Down

0 comments on commit 11dd212

Please sign in to comment.