Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PurpleI2P/i2pd
/ GetNumHeaders
Method
GetNumHeaders
libi2pd/HTTP.cpp:401–407 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
399
}
400
401
size_t HTTPReq::GetNumHeaders (std::string_view name) const
402
{
403
size_t num = 0;
404
for (auto& it : headers)
405
if (boost::iequals(it.first, name)) num++;
406
return num;
407
}
408
409
bool HTTPRes::is_chunked() const
410
{
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
1
main
Function · 0.36