 util = require('util');
 zlib = require('zlib');
 gunzip = require('zlib').createGunzip()
+inflate = require('zlib').createInflate()
 http = require 'http'
 https = require 'https'
 net = require 'net'

				uncompressedBodyBufs.push data
				return

		bufs = []
		routeRes.on "data", (chunk) ->
			bufs.push chunk

						defered.resolve response
					return
			else if routeRes.headers['content-encoding'] == 'deflate'
				inflate.on "end", ->
					uncompressedBody =	Buffer.concat uncompressedBodyBufs
					response.body = uncompressedBody.toString charset
					if not defered.promise.isRejected()
						defered.resolve response
					return
			else
				response.body = Buffer.concat bufs
				if not defered.promise.isRejected()
