* 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

@ -29,7 +29,7 @@ int main() {
assert(res->headers.find("Server")->second == "nginx/1.2.1");
assert(res->headers.find("Content-Length")->second == "536");
assert(res->is_chunked() == false);
assert(res->length() == 536);
assert(res->content_length() == 536);
delete res;
/* test: building request */