Skip to content

Shouldn't the content type in http/fs.go be text/plain instead of text-plain ? #1729

@gopherbot

Description

@gopherbot

by tav@espians.com:

In http/fs.go, serveFile() sets a Content-Type header of "text-plain;
charset=utf-8"
when the file content looks like utf-8 encoded text.

I'm pretty sure that this should be "text/plain; charset=utf-8" ?

http://tools.ietf.org/html/rfc3676

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