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

Method status_set

include/proxy/hdrs/HTTP.h:1090–1097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1088 -------------------------------------------------------------------------*/
1089
1090inline void
1091HTTPHdr::status_set(HTTPStatus status)
1092{
1093 ink_assert(valid());
1094 ink_assert(m_http->m_polarity == HTTP_TYPE_RESPONSE);
1095
1096 http_hdr_status_set(m_http, status);
1097}
1098
1099/*-------------------------------------------------------------------------
1100 -------------------------------------------------------------------------*/

Calls 1

http_hdr_status_setFunction · 0.85

Tested by

no test coverage detected