Skip to content

add CORS check for 304 response #27

Open
@ghost

Description

Some web servers, including it seems Apache in Fedora 22 do not set CORS headers on responses with a 304, e.g.:

$ curl -k -H 'If-None-Match: "1:c8ec8b42d2f03ce91d1ab7390ef56db5"' -I https://storage.tuxed.net/php-remote-storage/foo/public/shares/151019-1755-20150201_162437.jpg
HTTP/1.1 304 Not Modified
Date: Mon, 19 Oct 2015 18:13:03 GMT
Server: Apache/2.4.16 (Fedora) OpenSSL/1.0.1k-fips PHP/5.6.14
Etag: "1:c8ec8b42d2f03ce91d1ab7390ef56db5"

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