nodules / asker

http.request wrapper with gzip, request retries and http.Agent tuning
MIT License
93 stars 11 forks source link

request with header `content-length` without `gzip` isn't coverred by tests #22

Closed kaero closed 11 years ago

kaero commented 11 years ago
if (acceptEncoding.indexOf('gzip') === -1) {
    this.options.headers['accept-encoding'] = 'gzip, ' + acceptEncoding;
}