From 0970baaff4ff99344703a06485c671e7176743c2 Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Sun, 10 Apr 2022 22:23:58 -0700 Subject: [PATCH] Fix wording in docstring --- requests_http_signature/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requests_http_signature/__init__.py b/requests_http_signature/__init__.py index d1262fa..65ff704 100644 --- a/requests_http_signature/__init__.py +++ b/requests_http_signature/__init__.py @@ -170,9 +170,9 @@ class HTTPSignatureAuth(requests.auth.AuthBase): :param require_components: A list of lowercased header names or derived component IDs ("@method", "@target-uri", "@authority", "@scheme", "@request-target", "@path", "@query", "@query-params", "@status", or "@request-response" as - specified in the standard) to require to be covered by the signature. If the "content-digest" is - specified here (recommended for requests that have a body), it will be verified by matching it against the - digest hash computed on the body of the request (expected to be bytes). + specified in the standard) to require to be covered by the signature. If the "content-digest" header field + is specified here (recommended for requests that have a body), it will be verified by matching it against + the digest hash computed on the body of the request (expected to be bytes). If this parameter is not specified, ``verify()`` will set it to ("@method", "@authority", "@target-uri") for requests without a body, and ("@method", "@authority", "@target-uri", "content-digest") for requests