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

Method head

src/client/blocking/mod.rs:76–83  ·  view source on GitHub ↗
(
        &self,
        py: Python<'_>,
        url: PyBackedStr,
        kwds: Option<RequestParams>,
    )

Source from the content-addressed store, hash-verified

74 /// Make a HEAD request to the specified URL.
75 #[pyo3(signature = (url, **kwds))]
76 pub fn head(
77 &self,
78 py: Python<'_>,
79 url: PyBackedStr,
80 kwds: Option<RequestParams>,
81 ) -> PyResult<BlockingResponse> {
82 self.request(py, Method::HEAD, url, kwds)
83 }
84
85 /// Make a OPTIONS request to the specified URL.
86 #[pyo3(signature = (url, **kwds))]

Callers

nothing calls this directly

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected