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

return the destination stream, fixes issue#23 #25

Merged
merged 1 commit into from Sep 13, 2012
Merged

return the destination stream, fixes issue#23 #25

merged 1 commit into from Sep 13, 2012

Conversation

ghost
Copy link

@ghost ghost commented Aug 28, 2012

If this gets merged then I can pipe filed to oppressor to do gzip/deflate compression like this:

var oppressor = require('oppressor');
var filed = require('filed');
var http = require('http');

var server = http.createServer(function (req, res) {
    filed(__dirname + '/data.txt').pipe(oppressor(req)).pipe(res);
});
server.listen(8000);

Issue: #23

@jcrugzz
Copy link

jcrugzz commented Sep 12, 2012

@substack the return dest; line in your fork disappeared somehow. Anyway you could fix that until this is merged?

mikeal added a commit that referenced this pull request Sep 13, 2012
return the destination stream, fixes issue#23
@mikeal mikeal merged commit d91f706 into mikeal:master Sep 13, 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.

2 participants