patch

requests_pelican.patch(url, data=None, **kwargs)[source]

Sends a PATCH request.

Parameters:
  • url – URL for the new Request object.

  • data – (optional) Dictionary, list of tuples, bytes, or file-like object to send in the body of the Request.

  • json – (optional) A JSON serializable Python object to send in the body of the Request.

  • **kwargs – Optional arguments that request takes.

Returns:

Response object

Return type:

requests.Response

requests.patch

The upstream function of which this is a wrapper.