Skip to content

Send a WWW-Authenticate header when the response code is 401 #273

@axispx

Description

@axispx

Since, the default Unauthorized function does not send WWW-Authentication header when the status code is 401, it doesn't work with some http clients. Requesting you to look into this.

For reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

I can create a PR if you think this should be a default.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions