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

Function getPostBody

plugins/xdebug/xdebug_transforms.cc:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44static std::string
45getPostBody(TSHttpTxn txn)
46{
47 std::stringstream output;
48 output << MultipartBoundary;
49 output << "{'xDebugProbeAt' : '" << Hostname << "',\n 'captured':[";
50 print_response_headers(txn, output);
51 output << "\n ]\n}";
52 return output.str();
53}
54
55static void
56writePostBody(TSHttpTxn txn, BodyBuilder *data)

Callers 1

writePostBodyFunction · 0.85

Calls 2

print_response_headersFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected