lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Lynx 2.8.1rel.2 - HTTP bug?


From: Klaus Weide
Subject: Re: lynx-dev Lynx 2.8.1rel.2 - HTTP bug?
Date: Fri, 16 Apr 1999 04:01:35 -0500 (CDT)

On Fri, 16 Apr 1999, Leonid Pauzner wrote:

> 11-Apr-99 17:10 Dirk Foersterling wrote:
> > Hi,
> 
> > I found lynx (2.7.x, 2.8.0 and 2.8.1) sending incomplete HTTP requests.
> > For example retreiving the URL http://lynx.browser.org/ with lynx
> > (_not_using_any_proxy_) results in an error message (Bad Request). I
> > tracked it down and found lynx forming a request beginning with
> 
> > GET  HTTP/1.0
> > Host: lynx.browser.org
> 
> > which seems to be incorrect, because of the empty URI/path after GET.

It's certainly incorrect, and I've never seen lynx do that.
I think it's most likely that something went wrong in your compilation(s).
Seomethings seems to be screwed up in the internal structures.

> > A proxy usually inserts the missing "/" here, so the problem only shows
> > up in direct lynx/httpd communication. I tried this on several http
> > server software including Apache-1.3.6 and MS-IIS 4, to verify that not
> > a specific server version is picky about empty URIs.
> 
> I was trying http://lynx.browser.org with and without proxy -
> "/" path sent, but apparently without hostname in this field.
> Is it correct?
> 
> GET http://lynx.browser.org/ HTTP/1.0
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Host: lynx.browser.org
> ........
> and
> 
> Writing:
> GET / HTTP/1.0
> ^^^^^
> Host: lynx.browser.org

It's the only right way.

   Klaus


reply via email to

[Prev in Thread] Current Thread [Next in Thread]