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

Method setStatus

plugins/slice/HttpHeader.cc:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool
48HttpHeader::setStatus(TSHttpStatus const newstatus)
49{
50 if (!isValid()) {
51 return false;
52 }
53
54 return TS_SUCCESS == TSHttpHdrStatusSet(m_buffer, m_lochdr, newstatus);
55}
56
57char *
58HttpHeader::urlString(int *const urllen) const

Callers 2

handleFirstServerHeaderFunction · 0.45
form416HeaderAndBodyFunction · 0.45

Calls 1

TSHttpHdrStatusSetFunction · 0.85

Tested by

no test coverage detected