| 407 | } |
| 408 | |
| 409 | bool HTTPRes::is_chunked() const |
| 410 | { |
| 411 | auto it = headers.find("Transfer-Encoding"); |
| 412 | if (it == headers.end()) |
| 413 | return false; |
| 414 | if (it->second.find("chunked") != std::string::npos) |
| 415 | return true; |
| 416 | return false; |
| 417 | } |
| 418 | |
| 419 | bool HTTPRes::is_gzipped(bool includingI2PGzip) const |
| 420 | { |
no outgoing calls