Commit 100442fb authored by Matthew Knight's avatar Matthew Knight

added query to path string

parent f5b780fa
...@@ -95,11 +95,12 @@ namespace { ...@@ -95,11 +95,12 @@ namespace {
auto res = request.resource(); auto res = request.resource();
auto s = splitUrl(res); auto s = splitUrl(res);
auto body = request.body(); auto body = request.body();
auto query = request.query();
auto host = s.first; auto host = s.first;
auto path = s.second; auto path = s.second;
auto pathStr = path.toString(); auto pathStr = path.toString() + query.as_str();
streamBuf << request.method() << " "; streamBuf << request.method() << " ";
if (pathStr[0] != '/') if (pathStr[0] != '/')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment