module documentation

HTTP server that implements the Python WSGI protocol (PEP 333, rev 1.21).

Based on wsgiref.simple_server which is part of the standard library since 2.5.

This is a simple server for use in testing or debugging Django apps. It hasn't been reviewed for security issues. DON'T USE IT FOR PRODUCTION USE!

Variable logger Undocumented
Class ​Server​Handler No class docstring; 0/1 class variable, 1/3 method documented
Class ​Threaded​WSGIServer A threaded version of the WSGIServer
Class ​WSGIRequest​Handler No class docstring; 0/5 instance variable, 0/1 class variable, 1/5 method documented
Class ​WSGIServer BaseHTTPServer that implements the Python WSGI protocol
Function get​_internal​_wsgi​_application Load and return the WSGI application as configured by the user in settings.WSGI_APPLICATION. With the default startproject layout, this will be the application object in projectname/wsgi.py.
Function is​_broken​_pipe​_error Undocumented
Function run Undocumented
logger =

Undocumented

def get_internal_wsgi_application():

Load and return the WSGI application as configured by the user in settings.WSGI_APPLICATION. With the default startproject layout, this will be the application object in projectname/wsgi.py.

This function, and the WSGI_APPLICATION setting itself, are only useful for Django's internal server (runserver); external WSGI servers should just be configured to point to the correct application object directly.

If settings.WSGI_APPLICATION is not set (is None), return whatever django.core.wsgi.get_wsgi_application returns.

def is_broken_pipe_error():

Undocumented

def run(addr, port, wsgi_handler, ipv6=False, threading=False, server_cls=WSGIServer):

Undocumented