Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for opening URLs (lazy database file)#278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
boramalper wants to merge1 commit intosql-js:master
base:master
Choose a base branch
Loading
fromboramalper:master
Open

Add support for opening URLs (lazy database file)#278

boramalper wants to merge1 commit intosql-js:masterfromboramalper:master

Conversation

@boramalper
Copy link

@boramalperboramalper commentedJun 2, 2019
edited
Loading

I've added support for opening URLs usingFS.createLazyFile API of Emscripten. I've modifiedapi.coffee andworker.coffee respectively.

It might be also useful to document somewhere (README or the API docs?) that the following headers must be present for the file to be lazy-loaded (seelibrary_fs.js:1703):

  1. Accept-Ranges: bytes
  2. Content-Length
  3. Content-Encoding (if other thanidentity)

Care must be taken that these headers are accessible from XHR requests, thus appropriate CORS headers (e.g.Access-Control-Expose-Headers) must be set accordingly.

frankier and ajnavarro reacted with thumbs up emojiajnavarro reacted with rocket emoji
@boramalper
Copy link
Author

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@boramalper

[8]ページ先頭

©2009-2025 Movatter.jp