Skip to content

Commit 7f4030a

Browse files
committed
add comment
1 parent 180768a commit 7f4030a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/webflow/signature.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
from collections.abc import Mapping
88

99
def verify(headers: Mapping, body:str , secret: str):
10-
# Normalize header format to account for different server implementations
10+
# Normalize header format to account for different python server implementations
11+
# that may or may not normalize headers already
1112
normalized_headers = {k.lower(): v for k, v in headers.items()}
1213

1314
message = f"{normalized_headers.get('x-webflow-timestamp', '')}:{body}".encode('utf-8')

0 commit comments

Comments
 (0)