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

Headers lost on redirect #376

Merged
merged 1 commit into from
Nov 23, 2012
Merged

Headers lost on redirect #376

merged 1 commit into from
Nov 23, 2012

Conversation

kapetan
Copy link
Contributor

@kapetan kapetan commented Nov 22, 2012

When piping request into another stream, which supports setHeader, the headers aren't included if a redirect occurres. It's because the self.dests in the init (linie 114 in main.js) method is reset to an empty array on every redirect. I think this also fixes issue #348.

mikeal added a commit that referenced this pull request Nov 23, 2012
Headers lost on redirect
@mikeal mikeal merged commit bf8315d into request:master Nov 23, 2012
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.

None yet

2 participants