4.0.0 - New Features Breaking Change
This release contains breaking changes. User code will need to be updated in order to use this version of the library. A summary of changes include:
- Added support for basic and bearer authentication
- Refactored response API used in server route declarations
- Improved declaration of methods for server routes
- support for URL path parameters
- Refactored class names to remove redundant HTTP
- ChunkedResponse, FileResponse, JSONResponse, and Redirect object support
- Improved documentation and examples.
See: #54 for a full list of changes and modifications.
Thank you @michalpokusa for these improvements.
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.