Skip to content

auth_digest returns 400 on wrong scheme, should be 401 #1719

Description

@jaraco

The docs for the digest auth tool indicate that a 401 will be returned if the wrong scheme is supplied.

But tracing the code, it seems that when the scheme is wrong, a ValueError is raised and that's translated into a 400 response. I suspect the 401 response is the correct thing to do.

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