From c6bcbdfd4596b4affa27353d31c51c6ffedeeab0 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 17 Aug 2018 19:52:39 -0500 Subject: [PATCH] http signatures: fix signature generation --- viera/http_signatures.py | 1 + 1 file changed, 1 insertion(+) diff --git a/viera/http_signatures.py b/viera/http_signatures.py index 9c6f81a..683fe77 100644 --- a/viera/http_signatures.py +++ b/viera/http_signatures.py @@ -36,6 +36,7 @@ def build_signing_string(headers, used_headers): def sign_headers(headers, key, key_id): + headers = {x.lower(): y for x, y in headers.items()} used_headers = headers.keys() sig = { 'keyId': key_id,