Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jan 22, 2025

Motivation:

gRPC has a well defined mapping of HTTP status codes to gRPC status codes for when a response doesn't explicitly include a gRPC status.

Modifications:

  • Add an init to status to allow for a status to be created from an HTTP status code.

Result:

Can create a status from an HTTP status code

Motivation:

gRPC has a well defined mapping of HTTP status codes to gRPC status
codes for when a response doesn't explicitly include a gRPC status.

Modifications:

- Add an init to status to allow for a status to be created from an HTTP
  status code.

Result:

Can create a status from an HTTP status code
@glbrntt glbrntt added the 🆕 semver/minor Adds new public API. label Jan 22, 2025
@glbrntt glbrntt requested a review from gjcairo January 22, 2025 10:34
@glbrntt glbrntt enabled auto-merge (squash) January 22, 2025 14:03
@glbrntt glbrntt merged commit 067938b into grpc:main Jan 22, 2025
31 of 33 checks passed
@rnro rnro mentioned this pull request Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants