A gzip compression module for argo!
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
LICENSE
README.md
index.js
package.json

README.md

Argo Gzip Package

Now you can gzip with a simple argo middleware!

Usage.

	var argo = require("argo"),
	    gzip = require("argo-gzip");

	argo()
		.use(gzip)
		.target("http://www.endpointAPI.com/");

//Now all request that come in with a "Accept-Encoding:gzip" header will be zipped
//All responses that are from the backend server that are gzipped are handled now as well