You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2024. It is now read-only.
Sign HTTP requests with secure signatures according to the current IETF HTTP Signatures draft_ specification. This is a fork of the original module_ to fully support both RSA and HMAC schemes as well as unit test both schemes to prove they work. It's being used in production and is actively-developed.
10
+
Sign HTTP requests with secure signatures according to the IETF HTTP Signatures specification (`Draft 3`_). This is a fork of the original module_ to fully support both RSA and HMAC schemes as well as unit test both schemes to prove they work. It's being used in production and is actively-developed.
11
11
12
-
See the original project_, original Python module_, original spec_, and current IETF draft_ for more details on the signing scheme.
12
+
See the original project_, original Python module_, original spec_, and `current IETF draft`_ for more details on the signing scheme.
:param headers: A dictionary of headers from the HTTP request.
54
54
:param secret: The HMAC secret or RSA *public* key.
55
55
:param required_headers: Optional. A list of headers required to be present to validate, even if the signature is otherwise valid. Defaults to ['date'].
56
-
:param method: Optional. The HTTP method used in the request (eg. "GET"). Required for the '(request-line)' header.
57
-
:param path: Optional. The HTTP path requested, exactly as sent (including query arguments and fragments). Required for the '(request-line)' header.
56
+
:param method: Optional. The HTTP method used in the request (eg. "GET"). Required for the '(request-target)' header.
57
+
:param path: Optional. The HTTP path requested, exactly as sent (including query arguments and fragments). Required for the '(request-target)' header.
58
58
:param host: Optional. The value to use for the Host header, if not supplied in :param:headers.
0 commit comments