Open justmobilize opened 7 months ago
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:
Request
method
url
headers
Here you can see it moved to https
@FoamyGuy do you think this would be a good add?
Yeah, It seems like nice functionality to have to me, as long as we stick to a subset of cpython requests behavior and API.
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 themethod
,url
andheaders
, like in CPython:Here you can see it moved to https