Skip to content

turn off redirects per request #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 6, 2011
Merged

Conversation

jloomis
Copy link
Contributor

@jloomis jloomis commented Dec 6, 2011

request.setRedirectsEnabled(bool) was being ignored unless
it was true. instead, only default to config.redirectEnabled if
redirectEnabled hasn't been set either way for the request.

request.setRedirectsEnabled(bool) was being ignored unless
it was true. instead, only default to config.redirectEnabled if
redirectEnabled hasn't been set either way for the request.
some url shorteners sometimes return 302s without
a location header (bah.) throw illegal arg exception
rather than NPE from URI.resolve
jfarcand added a commit that referenced this pull request Dec 6, 2011
turn off redirects per request
@jfarcand jfarcand merged commit aff740c into AsyncHttpClient:master Dec 6, 2011
@jfarcand
Copy link
Contributor

jfarcand commented Dec 6, 2011

Many thanks, as usual.

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