put

igwn_auth_utils.requests.put(url, *args, session=None, **kwargs)

Send an HTTP PUT request to the specified URL with IGWN Auth attached.

Parameters:
  • url (str) – The URL to request.

  • session (requests.Session, optional) – The connection session to use, if not given one will be created on-the-fly.

  • args – All other keyword arguments are passed directly to requests.Session.put()

  • kwargs – All other keyword arguments are passed directly to requests.Session.put()

Returns:

resp – the response object

Return type:

requests.Response

See also

requests.Session.put

for information on how the request is performed