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 408 http code for gunicorn timeouts #1583

Closed
Uxio0 opened this issue Jul 21, 2023 · 1 comment
Closed

Return 408 http code for gunicorn timeouts #1583

Uxio0 opened this issue Jul 21, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Uxio0
Copy link
Member

Uxio0 commented Jul 21, 2023

Currently there's an empty response:

*   Trying 127.0.0.1:8888...
* Connected to localhost (127.0.0.1) port 8888
> GET /api/v1/about/ HTTP/1.1
> Host: localhost:8888
> User-Agent: curl/8.3.0
> Accept: */*
>
* Empty reply from server
* Closing connection
curl: (52) Empty reply from server

An when using nginx, 503 is returned

@Uxio0 Uxio0 added the bug Something isn't working label Jul 21, 2023
@Uxio0
Copy link
Member Author

Uxio0 commented Oct 6, 2023

I was mistaken, I was reading documentation and it looks like 408 should only be returned when the client has problems transmitting data, so we shouldn't do this: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408

Current behaviour sounds good

@Uxio0 Uxio0 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant