diff -r 49cdd843c006 -r 4d070115b552 runtime/NevowServer.py --- 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)