* HTTP.{cpp,h} : move length() method to base class

This commit is contained in:
hagen
2016-05-26 00:00:00 +00:00
parent 57bb0da1d6
commit 2e1a9a8df9
2 changed files with 4 additions and 4 deletions

View File

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