<div dir="ltr">If the request is valid and HTTP/1.1 you should respond 505. Otherwise you should respond with 400 for a bad request or 408 if the request times out. SO assuming index.html exists<div><br></div><div>GET /index.html HTTP/1.0 --&gt; 200 OK</div>
<div>GET /index.html HTTP/1.1 --&gt; 505 Version Not supported</div><div>xxxxxxxxxxxxxxxxxxxxxxx /index.html HTTP/1.1 --&gt; 400 Bad Request </div><div><br></div><div>PA</div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Nov 24, 2013 at 11:18 AM, Tejas Nadkarni <span dir="ltr">&lt;<a href="mailto:tnadkarn@stevens.edu" target="_blank">tnadkarn@stevens.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Since most browsers send HTTP 1.1 requests, although our program doesn&#39;t support them does it make sense to fallback any HTTP 1.1 requests to HTTP 1.0 and just process them?? Right now since we don&#39;t support 1.1, if a client requests HTTP/1.1 they are given a 505. <div>

<br></div><div>Should we instead just process it or leave it as a 505?</div><div><br></div><div><br></div></div>
<br>_______________________________________________<br>
cs631apue mailing list<br>
<a href="mailto:cs631apue@lists.stevens.edu">cs631apue@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
<br></blockquote></div><br></div>