moying2026 opened a new pull request, #13416: URL: https://github.com/apache/apisix/pull/13416
Fixes #13395\n\n### What this PR does\n- Updates the Python example in the hmac-auth documentation to include the `Digest` header in the signed headers list.\n- Moves the digest computation earlier so the signature covers the body digest.\n\n### Why\nAs described in #13395, the existing example computes the Digest header but does not sign it, which can be misleading for users who expect end-to-end body integrity. This PR makes the example match the intended secure usage.\n\n### Testing\n- Ran the updated Python snippet to confirm the signature generation works.\n- The example remains a documentation-only change, so no runtime tests are required. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
