Releases: adafruit/Adafruit_CircuitPython_HTTPServer
2.4.0 - URL Path Parameter
This release contains new functionality allowing parameters within your URL path that get passed to the serving function as arguments. Thank you @michalpokusa
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.
Updated MDNS example reference in ReadTheDocs
Updated MDNS example reference in ReadTheDocs. Thanks @foxy82!
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.
2.3.0 - Buffer Size Argument for send_file()
This release adds a buffer_size argument to send_file()
function and equalizes the default buffer size used by server and response classes so they are the same. Thank you @matemaciek
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.
2.2.0 - Automatically Serve index.html From Root
This release contains new behavior that will automatically serve index.html
if the user sends a request to the base URL without specifying a file.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.
2.1.0 - Allow sending binary data as well as text; performance improvements
2.0.0 - case insensitive headers and other changes
What's Changed
- Case insensitive HTTPHeaders, HTTPResponse context manager and some fixes by @michalpokusa in #29
Thanks to all the contributors and reviewers of the chanages for this release.
Full Changelog: 1.1.0...2.0.0
1.1.0 - Added a few features (see #22)
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.
1.0.1 Headers Fix
This release fixes an issue that stemmed from overwriting the values of the headers dictionary passed to HTTPResponse()
that resulted in incorrect length and other headers being returned in some cases. Thank you @spovlot!
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.
1.0.0 - Extensive rewrite to fix many issues; some API changes
Thank you @michalpokusa!
What's Changed
- Refactor into separate files, additional features, addition of missing typing by @michalpokusa in #25
New Contributors
- @michalpokusa made their first contribution in #25
Full Changelog: 0.5.4...1.0.0
0.5.4 - Fixed pylint errors
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-httpserver
.
Read the docs for info on how to use it.