[
https://issues.apache.org/jira/browse/HTTPCLIENT-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski updated HTTPCLIENT-900:
-----------------------------------------
Component/s: HttpClient
Priority: Minor (was: Major)
Fix Version/s: Future
> Another option could be to have HC Client implement it's own URL/URI class.
Feel free to work on it and submit a patch.
Those applications that need to work with arbitrary / malformed request URIs
one is advised to use HttpCore [1]
Oleg
[1] http://hc.apache.org/httpcomponents-core/index.html
> Don't enforce URI syntax
> ------------------------
>
> Key: HTTPCLIENT-900
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-900
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient
> Affects Versions: 4.0 Final
> Reporter: Marko Asplund
> Priority: Minor
> Fix For: Future
>
>
> 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. '{' and '}') 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]