MCPcopy Create free account
hub / github.com/apache/trafficserver / is_http1_version

Function is_http1_version

src/proxy/hdrs/HTTP.cc:671–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669 -------------------------------------------------------------------------*/
670
671bool
672is_http1_version(const uint8_t major, const uint8_t minor)
673{
674 // Return true if 1.1 or 1.0
675 return (major == 1) && (minor == 1 || minor == 0);
676}
677
678bool
679is_http1_hdr_version_supported(const HTTPVersion &http_version)

Callers 2

http_hdr_version_setFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected