Skip to content
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

Follow redirects even when the response was not empty #28

Merged
merged 1 commit into from Jul 28, 2013
Merged

Follow redirects even when the response was not empty #28

merged 1 commit into from Jul 28, 2013

Conversation

mkraemer
Copy link
Contributor

The existance and/or size content length header field is not really indicative of a redirect. The content length header may be empty for a non-redirected request as well as there may be some content returned for a redirected request.

With this PR, only the existance of the location header field is used to determine if the request is being redirected.

@eveliotc
Copy link
Contributor

👍

eveliotc added a commit that referenced this pull request Jul 28, 2013
Follow redirects even when the response was not empty
@eveliotc eveliotc merged commit c78f4a3 into telly:develop Jul 28, 2013
@chiu0602
Copy link

Sorry, my fault, thanks for point me out.

But I suggest moving "master" tag to 1.2.2

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