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

Method put

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

225
226 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
227 pub fn put(
228 &self,
229 py: Python<'_>,
230 url: String,
231 content: Option<Vec<u8>>,
232 data: Option<RequestBody>,
233 headers: Option<HashMap<String, String>>,
234 timeout: Option<Either<f64, &str>>,
235 force_http3: Option<bool>,
236 ) -> Result<response::ImpitPyResponse, ImpitPyError> {
237 self.request(
238 py,
239 "put",
240 url,
241 content,
242 data,
243 headers,
244 timeout,
245 force_http3,
246 Some(false),
247 )
248 }
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(

Callers 2

fetchMethod · 0.45
requestMethod · 0.45

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected