Skip to content

Instantly share code, notes, and snippets.

@nebhale
Created January 17, 2013 17:30
Show Gist options
  • Save nebhale/4557765 to your computer and use it in GitHub Desktop.
Save nebhale/4557765 to your computer and use it in GitHub Desktop.
Test case reproducing problems with gzipResponse
Hello World!
/*jshint node:true*/
'use strict';
var restify = require('restify');
var server = restify.createServer();
server.use(restify.gzipResponse());
server.get('output.txt', restify.serveStatic({
directory: '.'
}));
server.listen(8081, function() {
console.log('%s listening at %s', server.name, server.url);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment