##// END OF EJS Templates
hgweb: all protocol functions have become generators...
hgweb: all protocol functions have become generators Using the write() callable supplied by the start_response() call is frowned upon by the WSGI spec, returning an iterable over the content chunks is the recommended way. Be aware, though: returning many small chunks will slow down responses, because the server has to flush each chunk separately.

File last commit:

r5930:c301f15c default
r6784:18c429ea default
Show More
test-non-interactive-wsgi.out
12 lines | 235 B | text/plain | TextLexer
/ tests / test-non-interactive-wsgi.out
Dirkjan Ochtman
Don't try to determine interactivity if ui() called with interactive=False....
r5337 changeset: 0:61c9426e69fe
tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: test
---- HEADERS
200 Script output follows
---- DATA
Dirkjan Ochtman
send conservatively capitalized HTTP headers
r5930 [('Content-Type', 'text/html; charset=ascii')]
Dirkjan Ochtman
Don't try to determine interactivity if ui() called with interactive=False....
r5337 ---- ERRORS