Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support byte range requests #71

Merged
merged 4 commits into from
Sep 11, 2019
Merged

Support byte range requests #71

merged 4 commits into from
Sep 11, 2019

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Sep 10, 2019

Requires changes in parse-community/parse-server#6028

The current server does implement handleFileStream in the FilesRouter but most file streams would have a different implementation. In #6028. I moved the implementation directly into the adapter.

To prevent breaking changes i could add on the server to check for a different function other that getFileStream.

Any suggestions would be appreciated.

@codecov
Copy link

codecov bot commented Sep 10, 2019

Codecov Report

Merging #71 into master will decrease coverage by 7.12%.
The diff coverage is 7.69%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #71      +/-   ##
==========================================
- Coverage   93.75%   86.62%   -7.13%     
==========================================
  Files           2        2              
  Lines         144      157      +13     
  Branches       31       33       +2     
==========================================
+ Hits          135      136       +1     
- Misses          9       21      +12
Impacted Files Coverage Δ
index.js 80% <7.69%> (-12.21%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 90ba45c...0136e29. Read the comment docs.

@codecov
Copy link

codecov bot commented Sep 10, 2019

Codecov Report

Merging #71 into master will increase coverage by 0.51%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #71      +/-   ##
==========================================
+ Coverage   93.75%   94.26%   +0.51%     
==========================================
  Files           2        2              
  Lines         144      157      +13     
  Branches       31       33       +2     
==========================================
+ Hits          135      148      +13     
  Misses          9        9
Impacted Files Coverage Δ
index.js 93.33% <100%> (+1.12%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 90ba45c...8671337. Read the comment docs.

Copy link
Member

@davimacedo davimacedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me.

@dplewis dplewis merged commit 2990242 into master Sep 11, 2019
@dplewis dplewis deleted the byte-range branch September 11, 2019 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants