cli
cli copied to clipboard
show me the SSL certificate the server is using?
It would be handy for HTTPie to show me the certificate that the server used to deliver me a response.
Hey @glyph, fancy seeing you in these parts. ;)
So this is tough because HTTPie relies on Requests and you know the rest. The tl;dr is that urllib3 would have to expose that in a stable way for HTTPie to dig into (passing through Requests).
So really this needs to be a feature request on urllib3 which HTTPie can then consume (eventually).
I suspect what we'll want to do will begin around this line and store the dictionary we get back as an attribute.
Cheers! Ian