HTTP 1.1+ support

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
davealexis
Posts: 3
Joined: Thu Feb 24, 2022 12:17 am

HTTP 1.1+ support

Post by davealexis » Thu Feb 24, 2022 12:26 am

I get an HTTP 426 ("Upgrade Required") error when trying to call a REST service over SSL. The API seems to require an HTTP version newer than 1.0, but from what I can see from the urequests source code, it only does HTTP 1.0. Does anyone know of a way to get around this? Is there another HTTP library available?

This error happens, of course, on both ESP8266 and ESP32.

Post Reply