Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.322 kb
import uwsgi
def app1(e, sr):
print(e)
sr('200 Ok', [('Content-Type','text/plain')])
return b'i Am a Python 3.x bytestring'
def app2(e, sr):
print(e)
sr('404 Not Found', [('Content-Type','text/plain')])
return b'i Am a Python 3.x Not Found page'
uwsgi.applications = {b'': app1, b'/test': app2}
Jump to Line
Something went wrong with that request. Please try again.