http-party / http-server

a simple zero-configuration command-line http server
MIT License
13.42k stars 1.48k forks source link

Do you have plans to support multipart/byteranges #841

Closed ouliuquan closed 1 year ago

ouliuquan commented 1 year ago

What's the problem this feature will solve?

To support electron-builder differentially update

Describe the solution you'd like

Support this type, here is current version error log:

10:49:02.107 > Full: 184,943.67 KB, To download: 7,133.55 KB (4%)
10:49:02.118 > Cannot download differentially, fallback to full download: Error: Content-Type "multipart/byteranges" is expected, but got "application/octet-stream"
    at ClientRequest.<anonymous> (C:\Users\Roadrunner-Smart\AppData\Local\Programs\IntelliPattern\resources\app\node_modules\electron-updater\out\differentialDownloader\multipleRangeDownloader.js:80:20)
    at ClientRequest.emit (node:events:394:28)
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:105:6816)
    at SimpleURLLoaderWrapper.emit (node:events:394:28)

Alternative Solutions

Additional context

github-actions[bot] commented 1 year ago

This issue has been inactive for 180 days