summaryrefslogtreecommitdiffstats
path: root/routers/repo/download.go
Commit message (Collapse)AuthorAgeFilesLines
* #2283 set text/plain for non-binary files in raw modeUnknwon2015-12-251-0/+2
|
* rename import pathUnknwon2015-12-151-1/+1
|
* move out git module and #1573 send push hookUnknwon2015-12-091-3/+4
|
* Merge pull request #1485 from donbowman/mime-type无闻2015-08-141-6/+1
|\ | | | | 43bfee0d4872932c1da185e8367e21795bc4ceb5 reverted my change
| * 43bfee0d4872932c1da185e8367e21795bc4ceb5 reverted my changeDon Bowman2015-08-131-6/+1
| | | | | | | | | | | | 423b1c69be7828c331a47467b66217d190e916b9, 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).
* | fix serve attachment content typeUnknwon2015-08-121-8/+12
|/
* Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodingsVladimir Vissoultchev2015-07-291-1/+1
|
* Raw text file view returns correct charset in content-type header if not utf-8Vladimir Vissoultchev2015-07-281-4/+11
|
* don't set mime type to text/plain. This will break serving e.g. raw images,Don Bowman2015-04-081-1/+0
| | | | | | | | | 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."
* routers/repo: set raw page content type to 'text/plain' #828Unknwon2015-01-311-4/+4
|
* GetFile apiUnknwon2014-11-161-9/+19
|
* Fix #605, fix #255, fix #101Unknwon2014-11-061-5/+3
|
* Huge updates!!!!! Be careful to merge!!!!Unknwon2014-07-261-41/+32
|
* New UI merge in progressUnknwon2014-07-261-91/+40
|
* Fixed directory permissions for the zip download routerJan Oliver Oelerich2014-06-011-1/+1
| | | If the archives/ directory is created with 0655, it results in a permission error.
* fix for new git apislene2014-05-281-4/+16
|
* Fixed #209Unknown2014-05-251-12/+9
|
* fix #195Unknown2014-05-161-2/+2
|
* Fix #186Unknown2014-05-161-7/+35
|
* zip archive downloadslene2014-04-161-0/+68