Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0 Final
-
None
Description
I'm trying to use HttpComponents Client for fetching data from a web site.
I've ran into problems that seem to be related with the way the request URL query parameters are handled on the server side.
The service doesn't encode unsafe characters (e.g. '
') in response URLs.
Also when these characters are encoded on the client prior to issuing the request the service gives incorrect responses.
The URLs are of the following form:
http://www.foo.bar/foobar?${APPL}=hetekaue
On the otherhand HC Client doesn't allow me to send requests with invalid query syntax
(HttpGet(String) constructor throws an URISyntaxException).
It would be good if HC Client could be used also in situations like this.