forked from adafruit/Adafruit_CircuitPython_Requests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow 3XX status redirects with a new request. Parse the 'location' header for an absolute url, absolute path, or relative path. Replace or amend the url from the original request and place a new request. Expand the requests_simpletest_cpython.py example with new requests utilizing the three supported types of redirects. Note: We're using the httpbingo.org domain for redirects until the following issue on httpbin.org is resolved: postmanlabs/httpbin#617 This has been tested on CPython and an ESP32-S2 based MagTag board.
- Loading branch information
Showing
2 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters