Perform HTTP OPTIONS request.
(self, url, *, allow_redirects=True, **kwargs)
| 384 | **kwargs)) |
| 385 | |
| 386 | def options(self, url, *, allow_redirects=True, **kwargs): |
| 387 | """Perform HTTP OPTIONS request.""" |
| 388 | return _RequestContextManager( |
| 389 | self._request(hdrs.METH_OPTIONS, url, |
| 390 | allow_redirects=allow_redirects, |
| 391 | **kwargs)) |
| 392 | |
| 393 | def head(self, url, *, allow_redirects=False, **kwargs): |
| 394 | """Perform HTTP HEAD request.""" |