-h,--help
show help message and exit
--hostHOST
Host interfaces to bind. Defaults to '0.0.0.0' and '::'. Can be specified multiple times.
--portPORT,-pPORT
Port to bind. Defaults to 8080.
--unix-socketUNIX_SOCKET
Path to a unix socket to bind, cannot be used with host.
--unix-socket-permsUNIX_SOCKET_PERMS
Filesystem permissions to apply to the unix socket. Defaults to 384.
--backlogBACKLOG
Socket connection backlog. Defaults to 1024.
--staticSTATIC
Static route mappings in the form 'path=directory'. `path` must start with a slash, but not end
with a slash. Can be specified multiple times.
--static-corsSTATIC_CORS
Set to '*' to enable CORS on static files for all origins, or a string to enable CORS for a
specific origin. Defaults to None.
--script-nameSCRIPT_NAME
URL prefix for the WSGI application, should start with a slash, but not end with a slash. Defaults
to ''.
--url-schemeURL_SCHEME
A hint about the URL scheme used to access the application. Corresponds to
environ['wsgi.url_scheme']. Default is auto-detected to 'http' or 'https'.
--threadsTHREADS
Number of threads used to process application logic. Defaults to 4.
--inbuf-overflowINBUF_OVERFLOW
A tempfile will be created if the request body is larger than this value, which is measured in
bytes. Defaults to 524288.
--max-request-body-sizeMAX_REQUEST_BODY_SIZE
Maximum number of bytes in request body. Defaults to 1073741824. Larger requests will receive a
HTTP 413 (Request Entity Too Large) response.
--shutdown-timeoutSHUTDOWN_TIMEOUT
Timeout when closing client connections on server shutdown. Defaults to 60.0.
--verbose,-v
Increase verbosity. Can be specified multiple times.
--quiet,-q
Decrease verbosity. Can be specified multiple times.
--version
Display version information.