API and HTP 1.1

Post Reply
thespoddy
Posts: 2
Joined: Mon Jul 01, 2024 8:18 pm

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
thespoddy
Posts: 2
Joined: Mon Jul 01, 2024 8:18 pm

I have tested some more, yes 1.0 is not allowed
Dave Foster
Posts: 1303
Joined: Thu Oct 13, 2022 7:21 pm

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)
Post Reply