Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gopherbot opened this issue Apr 22, 2011 · 2 comments

Comments

@gopherbot
Copy link

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
@rsc
Copy link
Contributor

rsc commented Apr 22, 2011

Comment 1:

Sounds like a bug.

Owner changed to @bradfitz.

Status changed to Accepted.

@bradfitz
Copy link
Contributor

Comment 2:

This issue was closed by revision 81cfb4e.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants