r"""Sends a PUT request. Returns :class:`Response` object. :param url: URL for the new :class:`Request` object. :param data: (optional) Dictionary, list of tuples, bytes, or file-like object to send in the body of the :class:`Request`. :param \*\*kwargs: Optional
(
self, url: _t.UriType, data: _t.DataType = None, **kwargs: Unpack[_t.DataKwargs]
)
| 712 | return self.request("POST", url, data=data, json=json, **kwargs) |
| 713 | |
| 714 | def put( |
| 715 | self, url: _t.UriType, data: _t.DataType = None, **kwargs: Unpack[_t.DataKwargs] |
| 716 | ) -> Response: |
| 717 | r"""Sends a PUT request. Returns :class:`Response` object. |
| 718 | |
| 719 | :param url: URL for the new :class:`Request` object. |
| 720 | :param data: (optional) Dictionary, list of tuples, bytes, or file-like |
| 721 | object to send in the body of the :class:`Request`. |
| 722 | :param \*\*kwargs: Optional arguments that ``request`` takes. |
| 723 | :rtype: requests.Response |
| 724 | """ |
| 725 | |
| 726 | return self.request("PUT", url, data=data, **kwargs) |
| 727 | |
| 728 | def patch( |
| 729 | self, url: _t.UriType, data: _t.DataType = None, **kwargs: Unpack[_t.DataKwargs] |