Skip to content

Parse server does not support range #6244

Closed
@ExpDev07

Description

@ExpDev07

Issue Description

Accessing a file on parse server on safari doesn't work due to Range header not being supported.

Steps to reproduce

Using cURL: curl --range 0-100 http://localhost:3000/parse/files/path/to/file.mp4 -o test.mp4. As you can see, this doesn't work, however, if you do --range 0- which most browsers do (but not safari, they do 0-1), it works.

Expected Results

For video to be returned.

Actual Outcome

Get a corrupt file.

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : ^3.9.0
    • Operating System: Windows 10
    • Hardware: i7-4790k, 8GB RAM, GeForce GTX 980
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): localhost (both fails).
  • Database

    • MongoDB version: unsure
    • Storage engine: unsure
    • Hardware: unsure
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): mLab

Logs/Trace

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions