HTTPCLIENT-1916: Add URIBuilder.removeParameter#283
Conversation
|
May you please test edge cases like null and ""? |
|
I'm happy to add such tests, but I'm a bit unclear what the expected behaviour ought to be. I'm inclined to require non-null, non-empty for |
|
Why is a remove method necessary in a builder? Coming from a pre-built URI? |
|
@michael-o Some rationale was given by the submitter; I am merely picking up a volunteers-wanted label. |
@peterdettman I think just |
|
I've added a null guard for the argument, with accompanying test. |
https://issues.apache.org/jira/browse/HTTPCLIENT-1916 .
Note that I have marked the new method as "since 5.2".