hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: Handling of # in redirects
Date Thu, 08 Aug 2013 11:35:03 GMT
Hello Oleg,
Maybe my question was not cear.

I was saying that using this URL in a Sampler:

   - GET http://en.wikipedia.org/wiki/Fragment_identifier%23Examples

The URL called would be:

   - GET http://en.wikipedia.org/wiki/Fragment_identifier

HC removes chars after #


Regards

Philippe

On Thu, Aug 8, 2013 at 12:59 PM, Oleg Kalnichevski <olegk@apache.org> wrote:

> On Thu, 2013-08-08 at 11:35 +0200, Philippe Mouawad wrote:
> > Hello,
> >
> > I submitted a while ago a bug on fragment handling in URLs:
> >
> >    - https://issues.apache.org/jira/browse/HTTPCLIENT-1286
> >
> >
> > As a summary HTTPClient handles it by stripping it from URLs even if it's
> > encoded like this:
> > http://en.wikipedia.org/wiki/Fragment_identifier%23Examples.
> >
>
> I do not think it does so:
>
>
> http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestURIUtils.java?view=diff&r1=1511688&r2=1511689&pathrev=1511689
>
> Oleg
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>


-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message