"No Content-Length header set" error due to trac changeset 8609
|Reported by:||xeroo||Owned by:||k0s|
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
Change History (10)
comment:1 follow-up: ↓ 7 Changed 4 years ago by k0s
- Resolution set to fixed
- Status changed from new to closed
comment:7 in reply to: ↑ 1 Changed 4 years ago by mwehr
- Resolution fixed deleted
- Status changed from closed to reopened