File: test.wsgi

package info (click to toggle)
python-bumps 0.7.11-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,264 kB
  • sloc: python: 22,226; ansic: 4,973; cpp: 4,849; xml: 493; makefile: 163; perl: 108; sh: 101
file content (8 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
def application(environ, start_response):
  status = '200 OK'
  output = 'Hello World@'
  response_headers = [('Content-type', 'text/plain'),
    ('Content-Length',str(len(output)))]
  start_response(status, response_headers)
  return [output]