Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simple Request class to Response #187

Open
justmobilize opened this issue Apr 20, 2024 · 2 comments
Open

Add simple Request class to Response #187

justmobilize opened this issue Apr 20, 2024 · 2 comments

Comments

@justmobilize
Copy link
Collaborator

I was playing with ssl: work on anything implementing the socket protocol 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:

image

Here you can see it moved to https

@justmobilize
Copy link
Collaborator Author

@FoamyGuy do you think this would be a good add?

@FoamyGuy
Copy link
Contributor

Yeah, It seems like nice functionality to have to me, as long as we stick to a subset of cpython requests behavior and API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants