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

Method patch

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

201
202 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
203 pub fn patch(
204 &self,
205 py: Python<'_>,
206 url: String,
207 content: Option<Vec<u8>>,
208 data: Option<RequestBody>,
209 headers: Option<HashMap<String, String>>,
210 timeout: Option<Either<f64, &str>>,
211 force_http3: Option<bool>,
212 ) -> Result<response::ImpitPyResponse, ImpitPyError> {
213 self.request(
214 py,
215 "patch",
216 url,
217 content,
218 data,
219 headers,
220 timeout,
221 force_http3,
222 Some(false),
223 )
224 }
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(

Callers 2

fetchMethod · 0.45
requestMethod · 0.45

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected