[cs631apue] How to handle HTTP version

Xiakun Lu xlu9 at stevens.edu
Tue Dec 1 20:51:57 EST 2015


Hi professor,

According to the requirement, we only need to handle HTTP/1.0, My question is how to handle HTTP/1.1  HTTP/2.0, do we response 400 bad request, or treat it as HTTP/1.0. And how about a bad version BACON/3.2?

I observed the behavior of Apache httpd, it treats bad version as a default version, HTTP/2.0.

Best Regards,

Xiakun Lu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20151201/abbef9ba/attachment.html>


More information about the cs631apue mailing list