Add additional headers.
| 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: |
nothing calls this directly
no test coverage detected