#6990·requests

在 URL 路径中包含分号时,摘要身份验证的 `uri` 字段填写不正确

作者: nicomem创建于 2025年7月12日更新于 2026年8月16日

When there is a semicolon (;) in the request URL path, and when doing HTTP Digest Authentication, requests incorrectly fills the uri field of the Authorization header by ignoring the rest of the path. As per RFC 7616, the uri field contains the "Effective Request URI", which should contain the same path we are trying to access.