[PATCH] hgweb: Serve raw non-binary files as text/plain

Christian Ebert blacktrash at gmx.net
Wed Sep 3 09:51:02 CDT 2008


* Rocco Rutte on Wednesday, September 03, 2008 at 15:47:48 +0200
> # HG changeset patch
> # User Rocco Rutte <pdmef at gmx.net>
> # Date 1220449606 -7200
> # Node ID 41ce554da11789e5ab648f966df781071f04f2c2
> # Parent  a3fd4aa154afff901779639df0963e4e2848b7dd
> hgweb: Serve raw non-binary files as text/plain
> 
> Previously these were served as application/octet-stream usually making
> browers download them as files though can be displayed inline just
> fine. This is useful to refer to e.g. /project/raw-file/tip/README.

Ah, yes. +1 from me.

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_  _V I D E O S_  -->>  http://www.blacktrash.org/underdogma/


More information about the Mercurial-devel mailing list