MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / peer_certificate

Method peer_certificate

src/client/blocking/response/http.rs:87–92  ·  view source on GitHub ↗

Returns the TLS peer certificate of the response.

(
        &'py self,
        py: Python<'py>,
    )

Source from the content-addressed store, hash-verified

85
86 /// Returns the TLS peer certificate of the response.
87 pub fn peer_certificate<'py>(
88 &'py self,
89 py: Python<'py>,
90 ) -> PyResult<Option<Bound<'py, PyAny>>> {
91 self.0.peer_certificate(py)
92 }
93
94 /// Returns the text content of the response.
95 pub fn text(&self, py: Python) -> PyResult<String> {

Callers 2

print_response_infoFunction · 0.45
test_peer_certificateFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_peer_certificateFunction · 0.36