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

Method status_get

include/proxy/hdrs/HTTP.h:1074–1085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1072 -------------------------------------------------------------------------*/
1073
1074inline HTTPStatus
1075HTTPHdr::status_get() const
1076{
1077 ink_assert(valid());
1078
1079 if (m_http) {
1080 ink_assert(m_http->m_polarity == HTTP_TYPE_RESPONSE);
1081 return http_hdr_status_get(m_http);
1082 }
1083
1084 return HTTP_STATUS_NONE;
1085}
1086
1087/*-------------------------------------------------------------------------
1088 -------------------------------------------------------------------------*/

Callers 2

expect_final_responseMethod · 0.95

Calls 1

http_hdr_status_getFunction · 0.85

Tested by

no test coverage detected