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

Response must use 4xx status code when sent because of decoding error #12

Merged
merged 3 commits into from
Dec 14, 2023

Conversation

normanmaurer
Copy link
Member

Motivation:

A 4xx status code must be used when sending a response caused because of an decoding error: https://www.ietf.org/archive/id/draft-ietf-ohai-ohttp-10.html#section-5.2

Modifications:

Use a 4xx status code when exception is caused because of decoding

Result:

Follow the spec

Motivation:

A 4xx status code must be used when sending a response caused because of an decoding error:
https://www.ietf.org/archive/id/draft-ietf-ohai-ohttp-10.html#section-5.2

Modifications:

Use a 4xx status code when exception is caused because of decoding

Result:

Follow the spec
@normanmaurer normanmaurer added this to the 0.0.2.Final milestone Dec 14, 2023
@normanmaurer
Copy link
Member Author

/cc @thomdev

Copy link
Collaborator

@thomdev thomdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@normanmaurer normanmaurer merged commit 8a043e9 into main Dec 14, 2023
5 checks passed
@normanmaurer normanmaurer deleted the decode_400 branch December 14, 2023 17:59
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.

2 participants