| 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( |
| 228 | &self, |
| 229 | py: Python<'_>, |
| 230 | url: String, |
| 231 | content: Option<Vec<u8>>, |
| 232 | data: Option<RequestBody>, |
| 233 | headers: Option<HashMap<String, String>>, |
| 234 | timeout: Option<Either<f64, &str>>, |
| 235 | force_http3: Option<bool>, |
| 236 | ) -> Result<response::ImpitPyResponse, ImpitPyError> { |
| 237 | self.request( |
| 238 | py, |
| 239 | "put", |
| 240 | url, |
| 241 | content, |
| 242 | data, |
| 243 | headers, |
| 244 | timeout, |
| 245 | force_http3, |
| 246 | Some(false), |
| 247 | ) |
| 248 | } |
| 249 | |
| 250 | #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))] |
| 251 | pub fn delete( |