On Wed, Apr 02, 2025 at 13:01:10 +0100, debian-u...@howorth.org.uk wrote: > <to...@tuxteam.de> wrote: > > On Wed, Apr 02, 2025 at 11:04:17AM +0100, debian-u...@howorth.org.uk > > wrote: > > > GET index.html > > > > should be: > > > > GET index.html HTTP/1.0 > > 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.
hobbit:~$ printf 'GET / HTTP/1.0\r\nHost: vandyke.mynetgear.com\r\nConnection: close\r\n\r\n' | nc 47.229.8.99 80 HTTP/1.1 200 OK Date: Wed, 02 Apr 2025 12:09:39 GMT Server: Apache/2.4.62 (Debian) Last-Modified: Mon, 17 Jun 2024 21:42:20 GMT ETag: "7ba-61b1cd703a498" Accept-Ranges: bytes Content-Length: 1978 Vary: Accept-Encoding Connection: close Content-Type: text/html <title>Van Snyder's Web</title> <h1>Van Snyder's Web</h1> [...]