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

Method method_set

include/proxy/hdrs/HTTP.h:972–980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

970 -------------------------------------------------------------------------*/
971
972inline void
973HTTPHdr::method_set(const char *value, int length)
974{
975 ink_assert(valid());
976 ink_assert(m_http->m_polarity == HTTP_TYPE_REQUEST);
977
978 int method_wks_idx = hdrtoken_tokenize(value, length);
979 http_hdr_method_set(m_heap, m_http, value, method_wks_idx, length, true);
980}
981
982/*-------------------------------------------------------------------------
983 -------------------------------------------------------------------------*/

Callers 11

state_api_calloutMethod · 0.80
redirect_requestMethod · 0.80
HandlePushResponseHdrMethod · 0.80
issue_revalidateMethod · 0.80
send_headersMethod · 0.80
TSHttpHdrMethodSetFunction · 0.80

Calls 2

hdrtoken_tokenizeFunction · 0.85
http_hdr_method_setFunction · 0.85

Tested by

no test coverage detected