0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 21:22:53 +01:00
gitea/routers/repo
Don Bowman 423b1c69be don't set mime type to text/plain. This will break serving e.g. raw images,
html, etc

According to http://golang.org/pkg/net/http/#DetectContentType
"If the Header does not contain a Content-Type line, Write adds
a Content-Type set to the result of passing the initial 512 bytes
of written data to DetectContentType."
2015-04-08 00:44:38 +00:00
..
branch.go New UI merge in progress 2014-07-26 00:24:27 -04:00
commit.go Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files. 2015-02-06 17:02:32 +08:00
download.go don't set mime type to text/plain. This will break serving e.g. raw images, 2015-04-08 00:44:38 +00:00
http.go #1040: dashboard no longer accessible when repo is missing 2015-03-16 04:04:27 -04:00
issue.go #1067: Deleting users should remove them from collaborator lists 2015-03-17 21:51:39 -04:00
pull.go New UI merge in progress 2014-07-26 00:24:27 -04:00
release.go Updating context and fixing permission issues 2015-02-16 12:51:56 +02:00
repo.go mirror fix of #1105 2015-03-25 08:43:07 -04:00
setting.go fix read access team visibility of private repo 2015-03-16 04:52:11 -04:00
view.go Handle submodules without a .gitmodules entry - fix #1023 2015-03-10 03:08:17 +00:00