mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
set right Accept header for tarballs, closes #32
This commit is contained in:
parent
1c17291654
commit
b44255de3c
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user