Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
In DefaultNettyHttpBinding we copy the value of URI#getQuery to the Exchange.HTTP_QUERY header.
Sometimes user might need to access the value of URI#getRawQuery as well. This might be particularly useful if user needs to deal with the legacy HTTP clients sending requests with query parameters not encoded (1) properly.
The following line added to the DefaultNettyHttpBinding will solve the issue.
headers.put(Exchange.HTTP_RAW_QUERY, uri.getRawQuery());