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

Function foreachpair

src/uri/fetchers/docker.cpp:141–144  ·  view source on GitHub ↗

Add additional headers.

Source from the content-addressed store, hash-verified

139
140 // Add additional headers.
141 foreachpair (const string& key, const string& value, headers) {
142 argv.push_back("-H");
143 argv.push_back(key + ": " + value);
144 }
145
146 // Add a timeout for curl to abort when the download speed keeps low
147 // (1 byte per second by default) for the specified duration. See:

Callers

nothing calls this directly

Calls 3

parseAuthUrlFunction · 0.85
hostMethod · 0.80
containsFunction · 0.50

Tested by

no test coverage detected