Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes error Content-Type #89

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Fixes error Content-Type #89

merged 1 commit into from
Mar 21, 2024

Conversation

EwenQuim
Copy link
Member

@EwenQuim EwenQuim commented Mar 21, 2024

When returning UnauthorizedError, returns the application/problem+json Content-Type header.

When returning any error, returns the application/json Content-Type header.

Fixes #87

@EwenQuim EwenQuim changed the title Fixes error content-type according to situations Fixes error Content-Type Mar 21, 2024
@EwenQuim EwenQuim merged commit 1cdf83d into main Mar 21, 2024
1 check passed
@EwenQuim EwenQuim deleted the fixes-errors-content-type branch July 23, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SendJSONError missing Content-Type header
1 participant