Capturing Server TLS Certificates #2089
-
Is it possible to get the server TLS certificate for any given |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Great question yup. We need some docs around this. Take a look at The low-level |
Beta Was this translation helpful? Give feedback.
Great question yup. We need some docs around this.
Take a look at
response.extensions['network_stream']
. This exposes aget_extra_info()
, which includes SSL info in some contexts.The low-level
httpcore
package has some docs about this https://www.encode.io/httpcore/extensions/#network_stream which are also valid tohttpx
since the extensions are passed through.