12345678910111213141516171819202122232425262728293031323334353637383940 |
- #!/usr/bin/env python
- # -*- coding: utf8 -*-
- html = """
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Impressum</title>
- </head>
- <body>
- <h1>Impressum</h1>
- <nav><ul style="padding:0"><li style="display:inline;padding:5px;"><a href="/#word">Wort</a></li>
- <li style="display:inline;padding:5px;"><a href="/#cyber">Cyber?</a></li>
- <li style="display:inline;padding:5px;"><a href="/#disclaimer">Disclaimer</a></li>
- <li style="display:inline;padding:5px;"><a href="">Impressum</a></li></ul></nav>
- <div><br>
- <br>
- <br>
- <a href="mailto:"></a>
- </div>
- </body>
- </html>
- """
- status = "200 OK"
- def application(environ, start_response):
- response_body = html
- response_headers = [('Content-Type', 'text/html'),
- ('Content-Length', str(len(response_body.encode('utf8'))))]
- start_response(status, response_headers)
- return [response_body.encode('utf8')]
|