Skip to content

Commit

Permalink
Merge branch 'stewartbright-header-fix' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0219-msft committed May 23, 2016
2 parents 5f0b315 + 2501bfc commit 72aaec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Release/src/http/client/http_client_asio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ class asio_context : public request_context, public std::enable_shared_from_this
if (colon != std::string::npos)
{
auto name = header.substr(0, colon);
auto value = header.substr(colon + 2, header.size() - (colon + 3)); // also exclude '\r'
auto value = header.substr(colon + 1, header.size() - colon - 2);
boost::algorithm::trim(name);
boost::algorithm::trim(value);

Expand Down

0 comments on commit 72aaec6

Please sign in to comment.