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

Return valid CF 404 errors #2346

Merged
merged 2 commits into from
Mar 23, 2023
Merged

Return valid CF 404 errors #2346

merged 2 commits into from
Mar 23, 2023

Conversation

gcapizzi
Copy link
Contributor

@gcapizzi gcapizzi commented Mar 23, 2023

Is there a related GitHub Issue?

#2292

What is this change about?

This adds support for custom 404 and 405 handlers to our routing package. It then uses it to return well-formed CF errors.

Does this PR introduce a breaking change?

The format of 404 and 405 errors will now be compatible with CF.

Tag your pair, your PM, and/or team

@kieron-dev

Kieron Browne and others added 2 commits March 23, 2023 17:47
Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
Issue: #2292

Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
@gcapizzi gcapizzi merged commit 4986849 into main Mar 23, 2023
@gcapizzi gcapizzi deleted the 2292-not-found branch March 23, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants