Mercurial > hg
view tests/test-webraw.out @ 3868:6033d9f28052
hgweb.cgi and hgwebdir.cgi fixes/cleanups for user configurable parts:
- "import os" was missing in hgwebdir.cgi, added to comments for both script.
- HGENCODING has to be set before importing hgweb, otherwise you'll get
mixed encoding in changelog vs. file content/diffs.
- "import sys" is only needed when changing sys.path
- document purpose of cgitb.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 11 Dec 2006 14:30:50 +0100 |
parents | d75c68b55af8 |
children | fe5776a7443b |
line wrap: on
line source
200 Script output follows content-type: text/plain content-length: 157 content-disposition: filename=sometext.txt This is just some random text that will go inside the file and take a few lines. It is very boring to read, but computers don't care about things like that. host - - [date] "GET /?f=f165dc289438;file=sometext.txt;style=raw HTTP/1.1" 200 -