Skip to content

Client http status code returned for deadline_exceeded #122

@DMarby

Description

@DMarby

Currently, when a server handler returns a (context) deadline exceeded error, this maps to a 408 http status code.

The 408 (Request Timeout) status code is generally used to indicate that the server did not receive a complete request message within the time that it was prepared to wait, for example if a client haven't yet sent the headers for a request.

As this is a server timeout, we should consider returning a 500 error instead, such as 504 (Gateway Timeout).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions