Skip to content

Conversation

gerdriesselmann
Copy link
Contributor

Even with my prior pull request #439 applied, the query string was still escaped twice, when using raw URL. This change fixes it.

The function addQueryString() - that I commented out - seems to do nothing that has not already be done when building the URI in the Request. Except it does not care for the isUseRawUrl() setting. If there's a subtle difference I did not notice, isUseRawUrl() should be added inside the body of that function.

All of async-http-client tests still pass. com.ning.http.client.async.QueryParametersTest has no tests for raw URLs, though. But our tests now show the same behavior for both Netty and Grizzly.

Even with my prior pull request AsyncHttpClient#439 applied, the query string was still escaped twice, when using raw URL. This change fixes it. 

The function addQueryString() - that I commented out - seems to do nothing that has not already be done when building the URI in the Request. Except it does not care for the isUseRawUrl() setting. If there's a subtle difference I did not notice, isUseRawUrl() should be added inside the body of that function.

All of async-http-client tests still pass. com.ning.http.client.async.QueryParametersTest has no tests for raw URLs, though. But our tests now show the same behavior for both Netty and Grizzly.
rlubke added a commit that referenced this pull request Dec 13, 2013
Resepect Raw URL setting for query string, too (Grizzly, 1.7.x)
@rlubke rlubke merged commit fbea534 into AsyncHttpClient:ahc-1.7.x Dec 13, 2013
cs-workco pushed a commit to cs-workco/async-http-client that referenced this pull request Apr 13, 2023
…t#440)

One step closer to support HTTP/2 in the new connection pool. 
`HTTP2Connections` will be used in a new `HTTP2StateMaschine` in a follow up PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants