Fix the charset
[fwx] / main.py
diff --git a/main.py b/main.py
index d7ea725..d2d758a 100644 (file)
--- a/main.py
+++ b/main.py
@@ -1,12 +1,11 @@
-import phial
+import fwx
 
 def handler(request):
-    return phial.Response(
-        content_type='text/plain',
+    return fwx.TextResponse(
         content='Hello, world\n',
     )
 
-app = phial.App(handler)
+app = fwx.App(handler)
 
 if __name__ == '__main__':
     from twisted.internet import reactor