"No Content-Length header set" error due to trac changeset 8609
|Reported by:||Jay Xie||Owned by:||Jeff Hammel|
Changeset 8609(http://trac.edgewall.org/changeset/8609) of trac trunk has modified req.write, where Content-Length must be set before req.write and unicode data is not accepted.
Here is my patch that works, but I'm not sure if it's the enough.
82 82 user[NAME]) 83 83 for value, user in sorted(users) ] # value unused (placeholder need for sorting) 84 84 85 req. write('\n'.join(users)) 85 req.)) 86 86 87 87 88 88 ### methods for ITemplateProvider