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

Method delete

impit-python/src/client.rs:251–272  ·  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

249
250 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
251 pub fn delete(
252 &self,
253 py: Python<'_>,
254 url: String,
255 content: Option<Vec<u8>>,
256 data: Option<RequestBody>,
257 headers: Option<HashMap<String, String>>,
258 timeout: Option<Either<f64, &str>>,
259 force_http3: Option<bool>,
260 ) -> Result<response::ImpitPyResponse, ImpitPyError> {
261 self.request(
262 py,
263 "delete",
264 url,
265 content,
266 data,
267 headers,
268 timeout,
269 force_http3,
270 Some(false),
271 )
272 }
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(

Callers 2

fetchMethod · 0.45
requestMethod · 0.45

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected