Skip to content

Serve https://aviary.sh/install with a text/plain content-type #2

@simonw

Description

@simonw

https://aviary.sh/install is currently served with a application/octet-stream content-type:

$ curl -i https://aviary.sh/install
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 1266
Server: GitHub.com
Content-Type: application/octet-stream
...

This means that when I visit https://aviary.sh/install in my browser I get a prompt to download the script.

I never like to run curl https://aviary.sh/install | sudo bash without first eye-balling the script I'm about to execute. Serving that script with text/plain would make it much easier to see what it's actually going to do.

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