diff options
Diffstat (limited to 'libtransport')
-rw-r--r-- | libtransport/src/hicn/transport/http/response.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/http/response.cc b/libtransport/src/hicn/transport/http/response.cc index 0aa9affe8..db7306cca 100644 --- a/libtransport/src/hicn/transport/http/response.cc +++ b/libtransport/src/hicn/transport/http/response.cc @@ -49,7 +49,7 @@ bool HTTPResponse::parseHeaders() { if (it != end()) { std::stringstream ss; - ss.str(std::string(begin(), it)); + ss.str(std::string(begin(), it + 1)); std::string line; getline(ss, line); |