Added python example to demonstrate status codes. (#395)

This commit is contained in:
Cody Hill
2017-11-14 05:51:37 -08:00
committed by Soam Vasani
parent 9c8c3516ca
commit 05ec2dc9be
+4
View File
@@ -0,0 +1,4 @@
def main():
# You can return any http status code you like, simply place a comma after
# your return statement, and typing in the status code.
return "Not Found\n", 404