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

Method put

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

228
229 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
230 pub fn put<'python>(
231 &self,
232 py: Python<'python>,
233 url: String,
234 content: Option<Vec<u8>>,
235 data: Option<RequestBody>,
236 headers: Option<HashMap<String, String>>,
237 timeout: Option<Either<f64, &str>>,
238 force_http3: Option<bool>,
239 ) -> Result<pyo3::Bound<'python, PyAny>, PyErr> {
240 self.request(
241 py,
242 "put",
243 url,
244 content,
245 data,
246 headers,
247 timeout,
248 force_http3,
249 Some(false),
250 )
251 }
252
253 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
254 pub fn delete<'python>(

Callers 1

requestMethod · 0.45

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected