diff --git a/VERSION b/VERSION index 1b273d1..faff568 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2301.70411 +0.2301.71902 diff --git a/src/Http/HttpRequest.php b/src/Http/HttpRequest.php index 8f4e57f..1cff159 100644 --- a/src/Http/HttpRequest.php +++ b/src/Http/HttpRequest.php @@ -1,7 +1,7 @@ path; } - public function getParamString(): string { - return http_build_query($this->params); + public function getParamString(bool $spacesAsPlus = false): string { + return http_build_query($this->params, '', '&', $spacesAsPlus ? PHP_QUERY_RFC1738 : PHP_QUERY_RFC3986); } public function getParams(): array {