MCPcopy Create free account
hub / github.com/apache/mesos / foreach

Function foreach

3rdparty/libprocess/src/tests/encoder_tests.cpp:87–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 requests[9].headers["Accept-Encoding"] = ",";
86
87 foreach (const http::Request& request, requests) {
88 EXPECT_FALSE(request.acceptsEncoding("gzip"))
89 << "Gzip encoding is unacceptable for 'Accept-Encoding: "
90 << request.headers.get("Accept-Encoding").get() << "'";
91 }
92
93 // Create requests that accept gzip encoding.
94 vector<http::Request> gzipRequests(12);

Callers

nothing calls this directly

Calls 2

acceptsEncodingMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected