| 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( |