Adafruit-circuitpython-httpserver

Latest version: v4.5.8

Safety actively analyzes 630450 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

4.0.2

Fixed the packaging infrastructure of this library. Thanks FoamyGuy!

To use in CircuitPython, simply install the [Adafruit CircuitPython Bundle](https://circuitpython.org/libraries).

To use in CPython, `pip3 install adafruit-circuitpython-HTTPServer`.

Read the [docs](http://circuitpython.readthedocs.io/projects/HTTPServer/en/latest/) for info on how to use it.

4.0.1

To use in CircuitPython, simply install the [Adafruit CircuitPython Bundle](https://circuitpython.org/libraries).

To use in CPython, `pip3 install adafruit-circuitpython-HTTPServer`.

Read the [docs](http://circuitpython.readthedocs.io/projects/HTTPServer/en/latest/) for info on how to use it.

4.0.0

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: https://github.com/adafruit/Adafruit_CircuitPython_HTTPServer/pull/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](https://circuitpython.org/libraries).

To use in CPython, `pip3 install adafruit-circuitpython-httpserver`.

Read the [docs](http://circuitpython.readthedocs.io/projects/httpserver/en/latest/) for info on how to use it.

3.0.2

This release changes the name of the most basic example to include "simpletest" to match other libraries and simplifies it to return a string. Thank you jrrickerson.

To use in CircuitPython, simply install the [Adafruit CircuitPython Bundle](https://circuitpython.org/libraries).

To use in CPython, `pip3 install adafruit-circuitpython-httpserver`.

Read the [docs](http://circuitpython.readthedocs.io/projects/httpserver/en/latest/) for info on how to use it.

3.0.1

This release contains a fix for a potential infinite loop when multiple requests are sent to the server too quickly.

Thank you foxy82 for this fix!

To use in CircuitPython, simply install the [Adafruit CircuitPython Bundle](https://circuitpython.org/libraries).

To use in CPython, `pip3 install adafruit-circuitpython-httpserver`.

Read the [docs](http://circuitpython.readthedocs.io/projects/httpserver/en/latest/) for info on how to use it.

3.0.0

This release adds additional restrictions around static files that the library will serve. There is a new required positional argument `root_path` when initializing the server. The server will not serve static files outside of that directory by default. So for instance if you set `root_path` to `"/static"` as the examples do then the server will not serve files located in the root directory.

Existing projects using this library will need to update the initialization within their code to include the new argument in order to run with the new version of this library.

Thank you michalpokusa for these improvements.

To use in CircuitPython, simply install the [Adafruit CircuitPython Bundle](https://circuitpython.org/libraries).

To use in CPython, `pip3 install adafruit-circuitpython-httpserver`.

Read the [docs](http://circuitpython.readthedocs.io/projects/httpserver/en/latest/) for info on how to use it.

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.