Httpie: show me the SSL certificate the server is using?

Created on 20 Dec 2016  路  1Comment  路  Source: httpie/httpie

It would be handy for HTTPie to show me the certificate that the server used to deliver me a response.

feature upstream

Most helpful comment

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

>All comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Abdallah-Obaid picture Abdallah-Obaid  路  4Comments

tonsV2 picture tonsV2  路  4Comments

a-x- picture a-x-  路  7Comments

filipesperandio picture filipesperandio  路  3Comments

victorhooi picture victorhooi  路  4Comments