We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Files served by karma http server should support Range: bytes=42-43
Entire file is output
Karma version: 0.13.22
karma --version
karma.config.js
var xhr = new XMLHttpRequest(); xhr.open("GET", "/base/big_binary_file.dat", true); xhr.setRequestHeader("Range", "bytes=42-43"); xhr.responseType = "arraybuffer"; xhr.onload = () => { expect(xhr.response.byteLength).toBe(2) }
The text was updated successfully, but these errors were encountered:
Thanks for the report, it's an interesting feature so if someone wants to implement it I'd be happy to accept a PR for it.
Sorry, something went wrong.
a567b6f
No branches or pull requests
Expected behavior
Files served by karma http server should support Range: bytes=42-43
Actual behavior
Entire file is output
Enviroment Details
Karma version: 0.13.22
karma --version
):karma.config.js
fileSteps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: