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

notify about parsing errors in response headers and body #1061

Open
Keksoj opened this issue Jan 24, 2024 · 0 comments
Open

notify about parsing errors in response headers and body #1061

Keksoj opened this issue Jan 24, 2024 · 0 comments
Milestone

Comments

@Keksoj
Copy link
Member

Keksoj commented Jan 24, 2024

Sōzu returns for now:

  • standard HTTP responses with HTTP status codes (301, 502, etc)
  • custom 404 and 503 responses (custom HTML strings)

It would be beneficial for the end user to receive additional context when receiving an HTTP status code. Trickling Kawa parsing errors in a response header or in the custom HTML strings would allow a client to know that their request is wrongly formed, or that their backend creates wrong responses (for instance : an error about redundant content-length headers of the backend would be forwarded to the client in a 502 answer).

@Keksoj Keksoj added this to the v0.16.0 milestone Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant