Mercurial > hg
view tests/test-webraw.out @ 8788:5d8021ac0e19
inotify: raise QueryFailed when the server crash
When the server crashes, it does not write back on the socket. The message
which is then read from the socket is '', which raises a TypeError.
Catching TypeError to raise QueryFailed instead.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Sat, 13 Jun 2009 17:39:01 +0200 |
parents | 1c0e7afe824a |
children | 5bf465160632 |
line wrap: on
line source
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 -