summaryrefslogtreecommitdiffstatshomepage
path: root/examples/network/http_client.py
Commit message (Collapse)AuthorAge
* all: Replace all uses of umodule in Python code.Jim Mussared2023-06-08
| | | | | | | | Applies to drivers/examples/extmod/port-modules/tools. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* examples/http_client: Use read() instead of readall().Paul Sokolovsky2016-11-14
|
* examples/network/http_client*: Use \r\n line-endings in request.Paul Sokolovsky2016-10-09
|
* examples/http_client*: Be sure to close socket.Paul Sokolovsky2016-07-23
| | | | Otherwise, on bare-metal/RTOS systems can lead to resource leaks.
* examples/network/: Use getaddrinfo() result in easy way.Paul Sokolovsky2016-05-03
| | | | Instead of extracting 4th element, extact last. Much easier to remember!
* examples/http_client.py: Introduce main() function.Paul Sokolovsky2016-04-02
| | | | | Allows to re-run code if it was imported as a module (e.g., on bare-metal ports).
* examples/http_client.py: Improve CPython compatibility in stream mode.Paul Sokolovsky2016-04-02
|
* example/http_client.py: Remove unused code.Paul Sokolovsky2016-04-01
|
* examples: http_client.py, http_server.py aren't just unix, move to network/.Paul Sokolovsky2016-04-01