diff --git a/client_http.hpp b/client_http.hpp index 11ad753..bb7bcb2 100644 --- a/client_http.hpp +++ b/client_http.hpp @@ -656,7 +656,6 @@ namespace SimpleWeb { std::string line; getline(istream, line); bytes_transferred -= line.size() + 1; - line.pop_back(); unsigned long length = 0; try { length = stoul(line, 0, 16); diff --git a/server_http.hpp b/server_http.hpp index 718a6b7..18de816 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -634,7 +634,6 @@ namespace SimpleWeb { std::string line; getline(istream, line); bytes_transferred -= line.size() + 1; - line.pop_back(); unsigned long length = 0; try { length = stoul(line, 0, 16);