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

Reply to HTTP requests with error code on failures #271

Open
kasperl opened this issue Sep 28, 2022 · 0 comments
Open

Reply to HTTP requests with error code on failures #271

kasperl opened this issue Sep 28, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kasperl
Copy link
Member

kasperl commented Sep 28, 2022

Today, Jaguar doesn't reply with an error to HTTP requests that fail in unexpected ways (exceptions, timeouts, etc.).

We probably need to wrap the HTTP request handling in something that acts on exceptions. It isn't quite clear if the request should be considered handled if we sent the exception back to the user or if we should continue unwinding.

server.listen socket:: | request/http.Request writer/http.ResponseWriter |

@kasperl kasperl added enhancement New feature or request good first issue Good for newcomers labels Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Development

No branches or pull requests

1 participant