Page 1 of 1

API and HTP 1.1

Posted: Mon Jul 01, 2024 8:29 pm
by thespoddy
Does anyone know whether the API supports HTTP 1.0 or only HTTP 1.1? I'm writing a gizmo in Python on a Raspberry Pi Pico (MicroPython) and it doesn't work, but it works on my Mac (full Python). The only difference that I can see is that the Pico is 1.0 and the Mac is 1.1.

Thanks in advance

Re: API and HTP 1.1

Posted: Tue Jul 02, 2024 8:06 am
by thespoddy
I have tested some more, yes 1.0 is not allowed

Re: API and HTP 1.1

Posted: Tue Jul 02, 2024 1:52 pm
by Dave Foster
I would have thought that only HTTP 1.1 would work as the OpenAPI requires a host header and it allows a persistent connection (neither are supported in HTTP 1.0)