0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

set right Accept header for tarballs, closes #32

This commit is contained in:
Alex Kocharin 2013-12-26 23:25:19 +04:00
parent 1c17291654
commit b44255de3c
2 changed files with 7 additions and 0 deletions

View file

@ -1,4 +1,8 @@
26 Dec 2013, version 0.5.9
- fixing bug with bad Accept header (issue #32)
20 Dec 2013, version 0.5.8
- fixed a warning from js-yaml

View file

@ -316,6 +316,9 @@ Storage.prototype.get_url = function(url) {
var rstream = this.request({
uri_full: url,
encoding: null,
headers: {
Accept: 'application/octet-stream',
},
})
rstream.on('response', function(res) {