Am 02.04.25 um 14:01 schrieb debian-u...@howorth.org.uk:

> <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
>>
>> (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.

Try sending a Host-Header with the request:

GET /index.html HTTP/1.1
Host: whatever

That might make the difference.

-- 
Regards
  mks

Reply via email to