Skip to content

BinaryFileResponse incorrect behavior with If-range header #16540

Closed
@asmarovydlo

Description

@asmarovydlo

According to w3c specification http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html,
in the request, If-range header can contains last modified date of file, but in BinaryFileResponse(symfony v2.6.8) only etag accepted.
As in current realization etag generating by sha1_file function in takes much time with big files.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions