Skip to content

Remove the checking of "redirecting to the same url". #917

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 1 commit into from
Jun 16, 2015
Merged

Remove the checking of "redirecting to the same url". #917

merged 1 commit into from
Jun 16, 2015

Conversation

joymufeng
Copy link
Contributor

Fix up for the following condition:
---Request---
GET /checkCookieUrl HTTP/1.1
Host: sample.com
---Response---
HTTP/1.1 302 Moved Temporarily
Set-Cookie: _customId=qs7e95d91464;domain=sample.com;path=/
Location: http://sample.com/checkCookieUrl

@slandelle
Copy link
Contributor

OK, so the only change was indeed just removing the "same url" test :)

Thanks!

slandelle added a commit that referenced this pull request Jun 16, 2015
Remove the checking of "redirecting to the same url".
@slandelle slandelle merged commit abbecbc into AsyncHttpClient:master Jun 16, 2015
@slandelle slandelle self-assigned this Jun 16, 2015
@slandelle slandelle modified the milestones: 2.0.0, 1.9.28 Jun 16, 2015
@joymufeng
Copy link
Contributor Author

@slandelle Sorry, I just comment the "if" statements. I'm new to github and found that if I re-format the code, the diff result was in a mess.:)

@slandelle
Copy link
Contributor

No problem. Thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants