0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-27 22:59:51 -05:00

fix: #268 remove the accept header that avoids request with some regiestries

This commit is contained in:
Juan Picado @jotadeveloper 2017-07-28 07:20:13 +02:00
parent a4c829d836
commit e7dcf3cc86
No known key found for this signature in database
GPG key ID: 18AC54485952D158

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({