Make content a positional argument
[fwx] / main.py
diff --git a/main.py b/main.py
index d7ea725..f0bc2bc 100644 (file)
--- a/main.py
+++ b/main.py
@@ -1,8 +1,7 @@
 import phial
 
 def handler(request):
-    return phial.Response(
-        content_type='text/plain',
+    return phial.TextResponse(
         content='Hello, world\n',
     )