Skip to content

Making content-type configurable #20

@j-manu

Description

@j-manu

Is it possible to make content type configurable so that we can use go-camo to proxy non image resources also? Right now it is hardcoded here -

if !strings.HasPrefix(resp.Header.Get("Content-Type"), "image/") {

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