Skip to main content

Module content_type

Module content_type 

Source
Expand description

Request preflight checks: the content-type and te: trailers headers the gRPC HTTP/2 protocol requires.

Functions§

has_te_trailers
Validate that the request carries te: trailers. The gRPC HTTP/2 spec requires this so HTTP/2 intermediaries don’t strip response trailers.
parse_grpc_content_type
Parse a gRPC content-type header.