Releases: adafruit/Adafruit_CircuitPython_Requests
1.9.5 - Plug socket leaks
- Catch OSError in recv-into to avoid socket leak
- Catch OSError in _send_request to avoid socket leak
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
1.9.4 - Fix for ESPN
ESPN's chunk header sometimes has two spaces after the : so we strip the right side of the header so we properly handle the chunked response.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
1.9.3 - Moved to pre-commit, added licensing info
pre-commit has been added to the GitHub Actions workflow in this repository. pre-commit allows you to run multiple checks, such as black and checking the REUSE licensing compliance, both locally and on GitHub Actions with one command.
You can run pre-commit locally with pre-commit run --all-files
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
1.9.2 - Fix examples for ESP32SPI and SSL socket
This release:
- #58 Addresses #57 and fixes RuntimeError: Cannot access content after getting text or json error in examples/requests_advanced.py
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
1.9.1 - Now using _buffer_split0() to split bytestring
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
1.9.0 - Retry with new socket
#54 Reduces likelihood of RuntimeError: Unable to read HTTP response
error by retrying with new socket.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
1.8.1 - Fix CircuitPython compatibility
Fixes issue with bytearray.split()
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
1.8.0 - Added support for chunk extensions
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
Better handle errors by retrying
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.
Fix noneerror when we make a chunked request but dont read any data from it
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-requests
.
Read the docs for info on how to use it.