##// 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:

r5270:b962f82c default
r6784:18c429ea default
Show More
changelogentry.tmpl
16 lines | 509 B | application/x-cheetah | CheetahLexer
<entry>
<title>#desc|strip|firstline|strip|escape#</title>
<id>http://www.selenic.com/mercurial/#changeset-{node}</id>
<link href="{urlbase}{url}rev/{node}"/>
<author>
<name>#author|person|escape#</name>
<email>#author|email|obfuscate#</email>
</author>
<updated>#date|rfc3339date#</updated>
<published>#date|rfc3339date#</published>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre xml:space="preserve">#desc|escape#</pre>
</div>
</content>
</entry>