Skip to content

Wrong header returned by authenticate() #19

@sildur

Description

@sildur

The authenticate method is returning:

('WWW-Authenticate', 'Bearer realm="eve_auth_jwt", error="invalid_token"'): ('Content-Type', 'text/html; charset=utf-8')

instead of

WWW-Authenticate: Bearer realm="eve_auth_jwt", error="invalid_token"

which, apart of being an invalid header, makes gunicorn fail with HTTP error code 400, and the message "Invalid HTTP header name".

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