* HTTP.cpp : rename method

This commit is contained in:
hagen 2016-06-28 13:00:00 +00:00
parent 8cb3e3418a
commit 2d252e6459
4 changed files with 4 additions and 4 deletions

View file

@ -276,7 +276,7 @@ namespace http {
return false;
}
long int HTTPMsg::length() {
long int HTTPMsg::content_length() {
unsigned long int length = 0;
auto it = headers.find("Content-Length");
if (it == headers.end())