[
https://issues.apache.org/jira/browse/HTTPCLIENT-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218833#comment-16218833
]
ASF subversion and git services commented on HTTPCLIENT-1876:
-------------------------------------------------------------
Commit 2e303b854f88b67d98820bdd9cfdeac01f0ee54e in httpcomponents-client's
branch refs/heads/4.5.x from aleh_struneuski
[ https://git-wip-us.apache.org/repos/asf?p=httpcomponents-client.git;h=2e303b8
]
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]