You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Debraj Manna <su...@gmail.com> on 2016/07/08 07:32:58 UTC
Exchange.HTTP_QUERY and Exchange.HTTP_RAW_QUERY
Hi
Can someone please explain me the difference between Exchange.HTTP_QUERY
and Exchange.HTTP_RAW_QUERY?
I am not able to find the difference in the http doc
<http://camel.apache.org/http.html>.
Re: Exchange.HTTP_QUERY and Exchange.HTTP_RAW_QUERY
Posted by Debraj Manna <su...@gmail.com>.
Thanks Tadayoshi :) .
On Fri, Jul 8, 2016 at 1:56 PM, Tadayoshi Sato <sa...@gmail.com>
wrote:
> Hi,
>
> You can look at this:
> https://issues.apache.org/jira/browse/CAMEL-7138
>
> So essentially the difference corresponds to the difference between
> java.net.URI's getQuery() and getRawQuery():
> https://docs.oracle.com/javase/8/docs/api/java/net/URI.html
>
> If you have a query like 'x=%26%26%26', Exchange.HTTP_QUERY should return
> 'x=&&&', whereas Exchange.HTTP_RAW_QUERY should return 'x=%26%26%26'.
>
> On Fri, Jul 8, 2016 at 4:32 PM, Debraj Manna <su...@gmail.com>
> wrote:
>
> > Hi
> >
> > Can someone please explain me the difference between Exchange.HTTP_QUERY
> > and Exchange.HTTP_RAW_QUERY?
> >
> > I am not able to find the difference in the http doc
> > <http://camel.apache.org/http.html>.
> >
>
Re: Exchange.HTTP_QUERY and Exchange.HTTP_RAW_QUERY
Posted by Tadayoshi Sato <sa...@gmail.com>.
Hi,
You can look at this:
https://issues.apache.org/jira/browse/CAMEL-7138
So essentially the difference corresponds to the difference between
java.net.URI's getQuery() and getRawQuery():
https://docs.oracle.com/javase/8/docs/api/java/net/URI.html
If you have a query like 'x=%26%26%26', Exchange.HTTP_QUERY should return
'x=&&&', whereas Exchange.HTTP_RAW_QUERY should return 'x=%26%26%26'.
On Fri, Jul 8, 2016 at 4:32 PM, Debraj Manna <su...@gmail.com>
wrote:
> Hi
>
> Can someone please explain me the difference between Exchange.HTTP_QUERY
> and Exchange.HTTP_RAW_QUERY?
>
> I am not able to find the difference in the http doc
> <http://camel.apache.org/http.html>.
>