hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noah Levitt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-900) Don't enforce URI syntax
Date Fri, 21 Dec 2012 01:23:13 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537596#comment-13537596

Noah Levitt commented on HTTPCLIENT-900:

This is fantastic Oleg, thank you!!

Seems like API is still in flux, so we should wait a bit before programming to the new API.
One thing I'm wondering about is if BasicHttpRequest will implement HttpExecutionAware. It
would be easy enough for us to extend the BasicHttpRequest and add that functionality, but
it also looks like it would be simple to pull it up into a new abstract class e.g. AbortableHttpRequestBase
that BasicHttpRequest and HttpRequestBase could both extend. Just a thought, and I haven't
looked at this in depth yet.
> 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: 4.3 Alpha1
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message