简体   繁体   English

.NET IHttpHandler和HTTP / 1.0

[英].NET IHttpHandler and HTTP/1.0

如何在IHttpHandler的响应中将HTTP协议版本设置为HTTP / 1.0?

You can't control the protocol version that IIS responds with. 您无法控制IIS响应的协议版本。

IIS should respond in a manner consistent with a 1.0 client if the request indicates 1.0 however the response header will still indicate that the server supports 1.1. 如果请求指示1.0,则IIS应以与1.0客户端一致的方式响应,但是响应标头仍将指示服务器支持1.1。

This is correct behaviour. 这是正确的行为。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM