NetServices: add query part of the URL to the request
Change-Id: Ie169041925544f082a8be728d77cbc69edf2caa2
This commit is contained in:
parent
8a16ecbce9
commit
6c4a9fd69b
@ -476,6 +476,9 @@ BHttpRequest::SerializeHeaderTo(HttpBuffer& buffer) const
|
||||
else
|
||||
buffer << "/"sv;
|
||||
|
||||
if (fData->url.HasRequest())
|
||||
buffer << "?"sv << Url().Request().String();
|
||||
|
||||
// TODO: switch between HTTP 1.0 and 1.1 based on configuration
|
||||
buffer << " HTTP/1.1\r\n"sv;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user