Don Bowman
1d52793faf
remove empty line as per https://github.com/gogits/gogs/pull/1475
2015-08-15 09:21:34 +00:00
Don Bowman
4137426c88
43bfee0d48 reverted my change
...
423b1c69be , which in turn
causes all content to be served as text/plain. Let go decide
what the mime type is (e.g. text/html instead of text/plain).
2015-08-13 23:21:49 +00:00
Don Bowman
599e904020
43bfee0d48 reverted my change
...
423b1c69be , which in turn
causes all content to be served as text/plain. Let go decide
what the mime type is (e.g. text/html instead of text/plain).
2015-08-13 23:15:55 +00:00
Don Bowman
ab0247b4dc
race condition on keydelete
2015-08-12 22:00:43 +00:00
Don Bowman
1cb46ede1a
Merge branch 'master' of https://github.com/gogits/gogs
...
Conflicts:
routers/repo/download.go
2015-08-12 21:10:00 +00:00
Don Bowman
9e6bd31d76
fixes for binary
2015-08-12 21:07:44 +00:00
Don Bowman
81e6173356
remove blackfriday.EXTENSION_HARD_LINE_BREAK from options.
2015-04-08 22:25:47 +00:00
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