gzip support. fix #241
Merge pull request #242 from cnpm/gzip

gzip support. fix #241