MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / is_chunked

Method is_chunked

libi2pd/HTTP.cpp:409–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 3

MakeRequestMethod · 0.80
mainFunction · 0.80
ReseedRequestMethod · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64