MCPcopy Create free account
hub / github.com/apify/impit / options

Method options

impit-python/src/async_client.rs:278–299  ·  view source on GitHub ↗
(
        &self,
        py: Python<'python>,
        url: String,
        content: Option<Vec<u8>>,
        data: Option<RequestBody>,
        headers: Option<HashMap<String, String>>,
        timeou

Source from the content-addressed store, hash-verified

276
277 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
278 pub fn options<'python>(
279 &self,
280 py: Python<'python>,
281 url: String,
282 content: Option<Vec<u8>>,
283 data: Option<RequestBody>,
284 headers: Option<HashMap<String, String>>,
285 timeout: Option<Either<f64, &str>>,
286 force_http3: Option<bool>,
287 ) -> Result<pyo3::Bound<'python, PyAny>, PyErr> {
288 self.request(
289 py,
290 "options",
291 url,
292 content,
293 data,
294 headers,
295 timeout,
296 force_http3,
297 Some(false),
298 )
299 }
300
301 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
302 pub fn trace<'python>(

Callers 1

requestMethod · 0.45

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected