You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P3Nice to haves, rare edge casesbugSomething isn't workingneeds confirmationNeeds confirmation that the PR is actually required or needed.v1Affects the v1.x maintenance linev2Affects the v2 line (2.x on main)
Streamable HTTP currently ignores q=0 values in the Accept header, so requests that explicitly mark a media type as unacceptable can still be accepted. This violates RFC 7231 semantics for content negotiation and can cause clients and servers to disagree about which response format is actually allowed.
Hi, I'd like to work on this — I have a fix ready (with AI assistance, disclosed per
CONTRIBUTING.md). check_accept_headers() now parses each media-range's q value and treats
q<=0 as "not acceptable" per RFC 7231 §5.3.1, with a specific type's rejection taking
precedence over a broader wildcard that would otherwise accept it. Includes 3 new tests:
the exact example from this issue, a wildcard-precedence case, and a nonzero-q regression
check. Could this be assigned to me?
P3Nice to haves, rare edge casesbugSomething isn't workingneeds confirmationNeeds confirmation that the PR is actually required or needed.v1Affects the v1.x maintenance linev2Affects the v2 line (2.x on main)
Activity
SpiliosDimakopoulos commentedon Jul 24, 2026
Hi, I'd like to work on this — I have a fix ready (with AI assistance, disclosed per
CONTRIBUTING.md). check_accept_headers() now parses each media-range's q value and treats
q<=0 as "not acceptable" per RFC 7231 §5.3.1, with a specific type's rejection taking
precedence over a broader wildcard that would otherwise accept it. Includes 3 new tests:
the exact example from this issue, a wildcard-precedence case, and a nonzero-q regression
check. Could this be assigned to me?