[186] in 6.033-lab
Re: proxy (fwd)
daemon@ATHENA.MIT.EDU (Benjie Chen)
Sun Mar 12 00:44:01 2000
From: Benjie Chen <benjie@cag.lcs.mit.edu>
Message-Id: <200003120543.AAA10176@amsterdam.lcs.mit.edu>
To: 6.033-lab@MIT.EDU
Date: Sun, 12 Mar 2000 00:43:53 -0500 (EST)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
> I have a quick question on this assignment. When I send a HTTP/1.0 request,
> I sometimes get a HTTP/1.1 response (web.mit.edu for one). This was
> giving me an error in http_parse because it wasn't matching the version
> string. I changed it to match HTTP/1. using strspn(). Is this ok?
Yes, this is fine.
--
Benjie Chen
benjie@lcs.mit.edu