Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 确定ASHX处理程序中的HTTP协议版本_Asp.net_Http_Protocol Handler - Fatal编程技术网

Asp.net 确定ASHX处理程序中的HTTP协议版本

Asp.net 确定ASHX处理程序中的HTTP协议版本,asp.net,http,protocol-handler,Asp.net,Http,Protocol Handler,是否可以在.ashx处理程序中确定用于请求的HTTP协议版本(例如1.0与1.1)?我可以看到除Request.Params中的版本之外的所有标题信息 如果没有,在ASP.Net中处理HTTP请求时,有哪些途径可以发现HTTP协议版本?尝试request.ServerVariables[“SERVER\u protocol”]尝试request.ServerVariables[“SERVER\u protocol”]

是否可以在.ashx处理程序中确定用于请求的HTTP协议版本(例如1.0与1.1)?我可以看到除Request.Params中的版本之外的所有标题信息


如果没有,在ASP.Net中处理HTTP请求时,有哪些途径可以发现HTTP协议版本?

尝试
request.ServerVariables[“SERVER\u protocol”]

尝试
request.ServerVariables[“SERVER\u protocol”]