Headers lost on redirect #376

Merged
merged 1 commit into from Nov 23, 2012

Conversation

Projects
None yet
2 participants
Contributor

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 mikeal added a commit that referenced this pull request Nov 23, 2012

@mikeal mikeal Merge pull request #376 from kapetan/master
Headers lost on redirect
bf8315d

@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