Skip to content

Commit 75a2ba5

Browse files
Merge pull request #89830 from iakujobi/main
Error in the Python Code Snippet
2 parents 2a9ff13 + 12264f4 commit 75a2ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-app-configuration/rest-api-authentication-hmac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def sign_request(host,
428428
secret): # Access Key Value
429429
verb = method.upper()
430430

431-
utc_now = str(datetime.utcnow().strftime("%b, %d %Y %H:%M:%S ")) + "GMT"
431+
utc_now = str(datetime.utcnow().strftime("%a, %d %b %Y %H:%M:%S ")) + "GMT"
432432

433433
if six.PY2:
434434
content_digest = hashlib.sha256(bytes(body)).digest()

0 commit comments

Comments
 (0)