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