We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 180768a commit 7f4030aCopy full SHA for 7f4030a
src/webflow/signature.py
@@ -7,7 +7,8 @@
7
from collections.abc import Mapping
8
9
def verify(headers: Mapping, body:str , secret: str):
10
- # Normalize header format to account for different server implementations
+ # Normalize header format to account for different python server implementations
11
+ # that may or may not normalize headers already
12
normalized_headers = {k.lower(): v for k, v in headers.items()}
13
14
message = f"{normalized_headers.get('x-webflow-timestamp', '')}:{body}".encode('utf-8')
0 commit comments