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