I have a web app running on my LAN, and from the same subnet I can access it easily using any browser on any client with a simple http://< IP >/
Nothing special. Works all the time.
But when I try the following curl command:
curl -I http://<IP>/
I get his response from curl:
HTTP/1.1 405 Method Not Allowed
Content-Type: text/plain; charset=utf-8
Allow: GET
Content-Length: 23
Date: Fri, 21 May 2021 17:11:59 GMT
Server: Python/3.8 aiohttp/3.7.4.post0
I was expecting a 200 OK