4 Commits

Author SHA1 Message Date
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
Collin Anderson
0d3045bb41 cleaned some code 2014-09-10 20:34:22 -04:00
Collin Anderson
03fbe9429d clean whitespace 2014-09-10 09:52:12 -04:00
Paul J. Davis
3ad7c1b395 Make WSGI app names are now evaled in the module namespace.
This allows people to pass info from the command line to a WSGI
application. See examples/alt_spec.py for code that uses this
method. Example invocation:

    $ gunicorn 'alt_spec:load("my arg here")'

Notice the single quotes to avoid shell escape semantics.

Closes #56
Closes #40
2010-07-08 00:12:15 -04:00