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

Method doSendResponse

src/cripts/Bundles/Headers.cc:130–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void
131Headers::doSendResponse(cripts::Context *context)
132{
133 borrow resp = cripts::Client::Response::Get();
134
135 for (auto &header : _client_response.rm_headers) {
136 resp[header] = "";
137 }
138
139 for (auto &header : _client_response.set_headers) {
140 resp[header.first] = header.second->value(context);
141 }
142}
143
144void
145Headers::doSendRequest(cripts::Context *context)

Callers

nothing calls this directly

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected