Fix handling of 206 status code in updater
This commit is contained in:
parent
c8842d94ec
commit
0a24ca8d88
2 changed files with 15 additions and 10 deletions
|
@ -112,7 +112,7 @@ describe('updater/differential', () => {
|
|||
});
|
||||
|
||||
if (ranges.length === 1) {
|
||||
res.writeHead(200, {
|
||||
res.writeHead(206, {
|
||||
'content-type': 'application/octet-stream',
|
||||
});
|
||||
if (shouldTimeout === 'response') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue