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

Better content negotiation #15

Closed
ahx opened this issue May 10, 2019 · 2 comments
Closed

Better content negotiation #15

ahx opened this issue May 10, 2019 · 2 comments
Labels
good first issue Good for newcomers

Comments

@ahx
Copy link
Owner

ahx commented May 10, 2019

If no matching reponse content type can be found for the requests accept handler, the middleware should response with 406. See prism/test-harness about testing content negotiation.

@ahx ahx changed the title Handle Accept header Validate Accept header May 10, 2019
@ahx ahx added the good first issue Good for newcomers label Apr 23, 2020
@ahx ahx changed the title Validate Accept header Better content negotiation Aug 31, 2020
@ahx
Copy link
Owner Author

ahx commented Aug 31, 2020

Renaming because this is not the same as header validation. Spec

@ahx
Copy link
Owner Author

ahx commented Jun 1, 2023

Closing this, because it's too vague. Using https://github.com/stoplightio/prism/tree/master/test-harness/specs/content-negotiation sounds still feasible, though. But the current test suite is pretty comprehensive as well.

@ahx ahx closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant