Skip to content

Fixed: write content type on invalid Accept headers #903

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

Merged
merged 1 commit into from
Dec 9, 2020

Conversation

bart-degreed
Copy link
Contributor

Fixed: write content type on invalid Accept headers, to enable FireFox to render the response as json.

Before/after:
image

@bart-degreed bart-degreed requested a review from maurei December 8, 2020 14:09
@bart-degreed
Copy link
Contributor Author

/cc @wunki

@wayne-o
Copy link
Contributor

wayne-o commented Dec 8, 2020 via email

@bart-degreed
Copy link
Contributor Author

@wayne-o The syntax you're proposing is not allowed by the json:api spec, see here.

However, using "profiles" and "extensions" are allowed (though they have some strict rules). Could you open a separate issue to describe what you need and how JADNC could support your use case?

@maurei maurei merged commit 63ed35e into master Dec 9, 2020
@maurei maurei deleted the fix-accept-error-response branch December 9, 2020 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants