mirror of
https://github.com/oatpp/oatpp.git
synced 2025-02-23 17:40:28 +08:00
client: allow empty query param values
This commit is contained in:
parent
6ac35bfba0
commit
aa58ee530d
@ -95,7 +95,7 @@ oatpp::String ApiClient::formatPath(const StringTemplate& pathTemplate,
|
||||
bool first = !extra->hasQueryParams;
|
||||
for(const auto& q : queryParams) {
|
||||
oatpp::String value = q.second;
|
||||
if(value && value->size() > 0) {
|
||||
if(value) {
|
||||
if (first) {
|
||||
stream.writeCharSimple('?');
|
||||
first = false;
|
||||
|
Loading…
Reference in New Issue
Block a user