Method
put
(
self,
url: str,
params: ParamsType = None,
headers: Headers = None,
data: DataType = None,
form: FormType = None,
multipart: MultipartType = None,
timeout: float = None,
failOnStatusCode: bool = None,
ignoreHTTPSErrors: bool = None,
maxRedirects: int = None,
maxRetries: int = None,
)
Source from the content-addressed store, hash-verified
| 244 | ) |
| 245 | |
| 246 | async def put( |
| 247 | self, |
| 248 | url: str, |
| 249 | params: ParamsType = None, |
| 250 | headers: Headers = None, |
| 251 | data: DataType = None, |
| 252 | form: FormType = None, |
| 253 | multipart: MultipartType = None, |
| 254 | timeout: float = None, |
| 255 | failOnStatusCode: bool = None, |
| 256 | ignoreHTTPSErrors: bool = None, |
| 257 | maxRedirects: int = None, |
| 258 | maxRetries: int = None, |
| 259 | ) -> "APIResponse": |
| 260 | return await self.fetch( |
| 261 | url, |
| 262 | method="PUT", |
| 263 | params=params, |
| 264 | headers=headers, |
| 265 | data=data, |
| 266 | form=form, |
| 267 | multipart=multipart, |
| 268 | timeout=timeout, |
| 269 | failOnStatusCode=failOnStatusCode, |
| 270 | ignoreHTTPSErrors=ignoreHTTPSErrors, |
| 271 | maxRedirects=maxRedirects, |
| 272 | maxRetries=maxRetries, |
| 273 | ) |
| 274 | |
| 275 | async def post( |
| 276 | self, |