adafruit / adafruit/Adafruit_CircuitPython_Requests
Add simple Request class to Response
- Dominant language
- Python
- Stars
- 49
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
I was playing with [ssl: work on anything implementing the socket protocol](https://github.com/adafruit/circuitpython/pull/8954) and testing the quote endpoint on Adafruit (which I know redirects to https) and realized there isn't a way to find that out.
I would like to add a light-weight `Request` class that returns the `method`, `url` and `headers`, like in CPython:
_Here you can see it moved to https_
Contributor guide
No contributing guide indexed for this repository
Research direction
Use the issue description and its CPython comparison as the starting point. Identify the existing Response implementation and determine how a lightweight Request object should expose method, URL, and headers, then verify that redirect information such as the move from HTTP to HTTPS can be inspected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100