[tor-bugs] #23685 [Internal Services/Service - git]: Could gitweb.tpo send Content-Type text/html for some files?

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 28 20:13:34 UTC 2017


#23685: Could gitweb.tpo send Content-Type text/html for some files?
---------------------------------------------+----------------------------
 Reporter:  ln5                              |          Owner:  tor-gitadm
     Type:  defect                           |         Status:  new
 Priority:  Medium                           |      Milestone:
Component:  Internal Services/Service - git  |        Version:
 Severity:  Normal                           |     Resolution:
 Keywords:                                   |  Actual Points:
Parent ID:                                   |         Points:
 Reviewer:                                   |        Sponsor:
---------------------------------------------+----------------------------

Comment (by ln5):

 I've figured out that we run cgit https://git.zx2c4.com/cgit/about/ and
 that cgitrc according to its man page has both enable-html-serving and
 repo.enable-html-serving which looks promising.

 One question is if we want mimetype handling, based on "file type" I
 assume. For my neads, something like Githubs README.md would work equally
 well. Haven't checked if that's a thing in cgit yet.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23685#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list