Re: Web server access
<tomas@tuxteam.de> wrote:
> On Wed, Apr 02, 2025 at 11:04:17AM +0100, debian-user@howorth.org.uk
> wrote:
>
>
> > GET index.html
>
> should be:
>
> GET index.html HTTP/1.0
>
> (Strictly speaking you should close off with twice <CR><LF>, but
> most web servers are tolerant if you just send two <LF>)
>
> Not sending a HTTP version in your request /is/ a bad request,
> indeed.
Well, practically it makes no difference. If I send with or without an
HTTP version I get the same Bad Request response. And it makes no
difference whether I use HTTP/1.0 or HTTP/1.1.
In fact sending an HTTP version is not compulsory and the request must
be interpreted as HTTP/0.9 if it is not sent.
Reply to: