Adafruit-circuitpython-httpserver

Latest version: v4.5.9

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

Scan your dependencies

Page 5 of 9

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.

2.5.0

This release contains new functionality for routeless static file serving, including `HEAD` requests.
Thank you Neradoc

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.

2.4.0

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](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.

2.3.1

Updated MDNS example reference in ReadTheDocs. Thanks foxy82!

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.

2.3.0

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](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.

2.2.0

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](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 5 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.