mirror of https://github.com/adamdruppe/arsd.git
missing query params!
This commit is contained in:
parent
f9bc47b0df
commit
4f1ad1cb3a
4
http2.d
4
http2.d
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue