Skip to content

401 responses in §6 are missing WWW-Authenticate (RFC 9110 §15.5.2) #7

Backlog

Description

@RRaj19

The 401 responses in §6.1, §6.4 and §6.5 carry only AAuth-Requirement. RFC 9110 §15.5.2 says a 401 response MUST include a WWW-Authenticate header with at least one challenge, so these responses don't conform to HTTP.

I'm not suggesting replacing AAuth-Requirement. The fix is to also send a challenge on every 401, e.g. WWW-Authenticate: AAuth (registering AAuth as an HTTP auth scheme if it isn't already). §11.6 could then say that a 401 carrying AAuth-Requirement MUST also carry WWW-Authenticate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions