Paul J. Dorn
422b18acea
class Name(object): -> class Name:
2024-04-22 03:33:30 +02:00
Paul J. Dorn
4323027b1e
drop long-default - coding: utf-8
2024-04-22 03:33:14 +02:00
Berker Peksag
b5d188422e
Tweak some examples.
...
* Return bytes in Python 3
* Activate wsgiref.validate.validator
* Remove unused imports
2015-07-08 13:53:19 +03:00
benoitc
003c474fe2
handle bytes & native strings
...
This patch makes sure that we now handle correctly bytes and native
strings on python 3:
- In python 3, sockets are now taking and returning bytes.
- according to PEP3333, headers should be native strings and body in
bytes.
2012-10-24 13:51:35 +02:00
benoitc
53ce50bc7b
obvious syntax fixes preparing python3 support
2012-10-24 12:11:15 +02:00
Paul J. Davis
5ebdd48eed
Provide an example dispatcher app.
...
This just sketches out a simple way to host multiple apps using a single
gunicorn daemon.
2010-04-09 18:09:29 -04:00