optimized for modern WSGI servers (PEP 3333)
fixed indent
yet another two HTTP status codes