changeset 1870 | 4d070115b552 |
parent 1850 | 614396cbffbf |
child 1878 | fb73a6b6622d |
--- a/runtime/NevowServer.py Wed Oct 11 13:55:56 2017 +0300 +++ b/runtime/NevowServer.py Thu Oct 12 16:18:05 2017 +0300 @@ -157,7 +157,7 @@ """ Force content type to fit with SVG """ - req = inevow.IRequest(ctx) + req = ctx.locate(inevow.IRequest) req.setHeader('Content-type', 'application/xhtml+xml') return super(WebInterface, self).renderHTTP(ctx)