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

2017-09-28 Thread Tor Bug Tracker & Wiki
#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: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

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

2017-09-28 Thread Tor Bug Tracker & Wiki
#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   |   Keywords:
Actual Points:   |  Parent ID:
   Points:   |   Reviewer:
  Sponsor:   |
-+
 https://gitweb.torproject.org/company/policies.git/plain/corpdocs/index.html
 used to be served as text/html but is now text/plain. Used to as in March
 or April 2017.

 Whatever changed, can we change it back?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs