[
https://issues.apache.org/jira/browse/HTTPCLIENT-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218236#comment-16218236
]
ASF GitHub Bot commented on HTTPCLIENT-1876:
--------------------------------------------
GitHub user Strunevskiy opened a pull request:
https://github.com/apache/httpcomponents-client/pull/87
HTTPCLIENT-1876. Improve the buildString() method in URIBuilder.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Strunevskiy/httpcomponents-client 4.6.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/httpcomponents-client/pull/87.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #87
----
commit 11190331d38f38fc0768c7c8d0ca5a726f910984
Author: aleh_struneuski <[email protected]>
Date: 2017-10-25T08:02:42Z
HTTPCLIENT-1876. Improve the buildString() method in URIBuilder.
----
> Improve the buildString() method in URIBuilder
> ----------------------------------------------
>
> Key: HTTPCLIENT-1876
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1876
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient (classic)
> Affects Versions: 4.4.1
> Reporter: Aleh Struneuski
> Priority: Minor
>
> After building URI using URIBuilder with the setParameters method which has
> an empty list as argument, the created URI ends with symbol ?.
> String testUrl = "https://test.com/test_path?key=value";
> URI uri = new
> URIBuilder(testUrl).clearParameters().setParameters(Arrays.asList()).build();
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]