Created
July 4, 2009 11:57
-
-
Save pagenoare/140539 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from pygnite import * | |
@get('/') | |
def index(request): | |
index.headers = { 'Content-type' : 'text/plain' } | |
# index.status = 200 | |
return 'Hello world' | |
if __name__ == '__main__': pygnite(debug='www') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment