igwn_auth_utils.requests

Python Requests interface with IGWN authentication.

This is heavily inspired by Leo Singer’s excellent requests_gracedb package.

Functions

delete(url, *args[, session])

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

head(url, *args[, session])

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

indent(text, prefix[, predicate])

Adds 'prefix' to the beginning of selected lines in 'text'.

patch(url, *args[, session])

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

post(url, *args[, session])

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

put(url, *args[, session])

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