missing query params!

This commit is contained in:
Adam D. Ruppe 2016-03-04 20:25:20 -05:00
parent f9bc47b0df
commit 4f1ad1cb3a
1 changed files with 4 additions and 0 deletions

View File

@ -744,6 +744,10 @@ class HttpRequest {
if(parts.port == 0)
requestParameters.port = requestParameters.ssl ? 443 : 80;
requestParameters.uri = parts.path.length ? parts.path : "/";
if(parts.query.length) {
requestParameters.uri ~= "?";
requestParameters.uri ~= parts.query;
}
}
~this() {