Determine HTTP Protocol Version in ASHX Handler

460 Views Asked by At

Is it possible to determine the HTTP protocol version (e.g. 1.0 vs. 1.1) used for a request within a .ashx handler? I can see all of the header information except for the version in Request.Params.

If not, what avenues are available to discover the HTTP protocol version when processing an HTTP request in ASP.Net?

1

There are 1 best solutions below

0
On BEST ANSWER

try Request.ServerVariables["SERVER_PROTOCOL"]