OpenJDK Community Code Review server rollout
Tim Bell
Tim.Bell at Sun.COM
Fri Mar 27 11:46:33 PDT 2009
Mark Wielaard mark at klomp.org wrote:
> Would it be possible to tell the server to give the patches type
> text/plain instead of application/octet-stream like
> webrev.invokedynamic.info does?
Done. My apology for the delay in making what turned out to be a
trivial change. I added entries for file extensions that I could see
people are using on cr.openjdk.java.net, and also set the final default
to "text/plain". Please let me know if I missed anything.
Tim Bell
cr% gdiff lighttpd.conf.old lighttpd.conf
58d57
<
73a73
> ".jar" => "application/zip",
92a93
> ".ad" => "text/plain",
93a95,100
> ".d" => "text/plain",
> ".sh" => "text/plain",
> ".rc" => "text/plain",
> ".bat" => "text/plain",
> ".gmk" => "text/plain",
> ".asm" => "text/plain",
94a102,110
> ".hpp" => "text/plain",
> ".java" => "text/plain",
> ".map" => "text/plain",
> ".out" => "text/plain",
> ".lst" => "text/plain",
> ".list" => "text/plain",
> ".patch" => "text/plain",
> ".policy" => "text/plain",
> ".make" => "text/plain",
100a117
> ".mf" => "text/xml",
111c128,129
< ".tar.bz2" => "application/x-bzip-compressed-tar"
---
> ".tar.bz2" => "application/x-bzip-compressed-tar",
> "" => "text/plain"
112a131,132
> # ^^^^ That last entry is to make the default mime type text/plain
> # tbell Fri Mar 27 11:12:28 PDT 2009
More information about the web-discuss
mailing list