tests/test-webraw.out
author Brendan Cully <brendan@kublai.com>
Fri, 29 Feb 2008 14:47:07 -0800
changeset 6198 358cc9cf54db
parent 6137 1c0e7afe824a
child 11334 5bf465160632
permissions -rw-r--r--
highlight: guess by text when path name is ambiguous Although the docs claim that guess_lexer_for_filename will fall back to using file data, my ubuntu 7.10 pygments library seems to ignore the text argument. So call guess_lexer explicitly on failure.

200 Script output follows
content-type: text/plain
content-length: 157
content-disposition: inline; filename="some \"text\".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=a23bf1310f6e;file=sub/some%20%22text%22.txt;style=raw HTTP/1.1" 200 -