Added python example to demonstrate status codes. (#395)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user