Age | Commit message (Collapse) | Author |
|
It's better for discoverability to have these examples named `https_xxx.py`
rather than `http_xxx_ssl.py`.
Signed-off-by: Damien George <damien@micropython.org>
|
|
Applies to drivers/examples/extmod/port-modules/tools.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
|
|
This is run with uncrustify 0.70.1, and black 19.10b0.
|
|
This example will now work on all ports with networking and ssl support,
with both axtls and mbedtls.
|
|
Since "read-exactly" stream refactor, where stream.read(N) will read
exactly N bytes (unless EOF), http_server* examples can't any longer do
client_socket.read(4096) and expect to get full request (it will block
on HTTP/1.1 client). Instead, read request line by line, as the HTTP
protocol requires.
|
|
Instead of extracting 4th element, extact last. Much easier to remember!
|
|
|