| 276 | |
| 277 | #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))] |
| 278 | pub fn options<'python>( |
| 279 | &self, |
| 280 | py: Python<'python>, |
| 281 | url: String, |
| 282 | content: Option<Vec<u8>>, |
| 283 | data: Option<RequestBody>, |
| 284 | headers: Option<HashMap<String, String>>, |
| 285 | timeout: Option<Either<f64, &str>>, |
| 286 | force_http3: Option<bool>, |
| 287 | ) -> Result<pyo3::Bound<'python, PyAny>, PyErr> { |
| 288 | self.request( |
| 289 | py, |
| 290 | "options", |
| 291 | url, |
| 292 | content, |
| 293 | data, |
| 294 | headers, |
| 295 | timeout, |
| 296 | force_http3, |
| 297 | Some(false), |
| 298 | ) |
| 299 | } |
| 300 | |
| 301 | #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))] |
| 302 | pub fn trace<'python>( |