Method
head
(
&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
Tested by
no test coverage detected