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

Method head

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

Source from the content-addressed store, hash-verified

50 /// Make a HEAD request to the given URL.
51 #[pyo3(signature = (url, **kwds))]
52 pub fn head<'py>(
53 &self,
54 py: Python<'py>,
55 url: PyBackedStr,
56 kwds: Option<RequestParams>,
57 ) -> PyResult<Bound<'py, PyAny>> {
58 self.request(py, Method::HEAD, url, kwds)
59 }
60
61 /// Make a POST request to the given URL.
62 #[pyo3(signature = (url, **kwds))]

Callers

nothing calls this directly

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected