Skip to content

Error in detecting partial file support #8

@wheybags

Description

@wheybags

Hey, I'm testing this with http-server, and getting the following error message in console:

server does not support byte serving (`Accept-Ranges: bytes` header missing), or your database is hosted on CORS and the server doesn't mark the accept-ranges header as exposed seen response headers cache-control: max-age=3600
connection: keep-alive
content-length: 169918464
content-type: application/octet-stream; charset=utf-8
date: Tue, 11 May 2021 23:20:46 GMT
etag: W/"23335773-169918464-2021-05-11T22:58:16.861Z"
keep-alive: timeout=5
last-modified: Tue, 11 May 2021 22:58:16 GMT
server: ecstatic-3.3.2

However, it is working fine. I think there is an error in the code checking for partial file support? It would (correctly) report the same error when I used python http.server, and indeed it did not work with that server.

(PS: This is an awesome project <3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions