Skip to content

node/routes: Fix error handling #2300

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 4 commits into from
Nov 13, 2020
Merged

node/routes: Fix error handling #2300

merged 4 commits into from
Nov 13, 2020

Conversation

nhooyr
Copy link
Contributor

@nhooyr nhooyr commented Nov 13, 2020

We should always send HTML if the user agent expects it.

If they do not, they should clearly indicate such via the Accept header.

Closes #2297

@nhooyr nhooyr requested a review from code-asher November 13, 2020 20:33
@nhooyr nhooyr added this to the v3.6.3 milestone Nov 13, 2020
We should always send HTML if the user agent expects it.

If they do not, they should clearly indicate such via the Accept header.

Closes #2297
See previous commit for failure introduced.
@nhooyr nhooyr merged commit c601774 into master Nov 13, 2020
@nhooyr nhooyr deleted the express-eb3b branch November 13, 2020 23:44
@nhooyr
Copy link
Contributor Author

nhooyr commented Nov 13, 2020

Removed the fixup in master!

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