Skip to content

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