0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-04-08 02:54:13 -05:00

Merge pull request #270 from verdaccio/fix_268

fix: #268 remove the accept header that avoids request with some regi…
This commit is contained in:
Meeeeow 2017-07-28 17:38:15 +08:00 committed by GitHub
commit d725a81398

View file

@ -231,7 +231,6 @@ class ProxyStorage {
const headers = {};
if (_.isNil(options.etag) === false) {
headers['If-None-Match'] = options.etag;
headers['Accept'] = 'application/octet-stream';
}
this.request({