[plt-scheme] Possible bug getting requests from non-complete urls.
On Dec 8, Patrick wrote:
> I'm experiencing a weird issue...
>
> Here's a test case:
> #lang scheme
> ...
> (define site-url "http://www.circuitcity.com")
That's the problem -- net/url sends a line like:
GET HTTP/1.0
which is bogus, according to the HTTP RFC -- I fixed it to use "/" if
the path is empty, following what the RFC says:
Note that the absolute path cannot be empty; if none is present in
the original URI, it must be given as "/" (the server root).
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!