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

Method options

impit-python/src/client.rs:275–296  ·  view source on GitHub ↗
(
        &self,
        py: Python<'_>,
        url: String,
        content: Option<Vec<u8>>,
        data: Option<RequestBody>,
        headers: Option<HashMap<String, String>>,
        timeout: Op

Source from the content-addressed store, hash-verified

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

Callers 2

fetchMethod · 0.45
requestMethod · 0.45

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected