Skip to content

Add CORS headers to redirects? #1058

@ptgolden

Description

@ptgolden

I'm developing a Web application for browsing OBO ontologies, and it would be nice to request OBOGraph JSON files from https://purl.obolibrary.org/obo/*.json. Is adding Cross-Origin Resource Sharing headers something you would consider? I imagine just one (Access-Control-Allow-Origin: *), but possibly also limiting to only GET requests.

Of course, it depends on the location of the redirect also having CORS headers set. https://raw.githubusercontent.com sets them, but https://github.com/ (i.e. ontologies published through releases) does not. That might make this issue moot.

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