Changeset 391 for python/trunk/Doc/library/wsgiref.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/wsgiref.rst
r2 r391 60 60 61 61 62 .. function:: request_uri(environ [, include_query=1])62 .. function:: request_uri(environ, include_query=1) 63 63 64 64 Return the full request URI, optionally including the query string, using the … … 149 149 150 150 151 .. class:: FileWrapper(filelike [, blksize=8192])151 .. class:: FileWrapper(filelike, blksize=8192) 152 152 153 153 A wrapper to convert a file-like object to an :term:`iterator`. The resulting objects … … 272 272 273 273 274 .. function:: make_server(host, port, app [, server_class=WSGIServer [, handler_class=WSGIRequestHandler]])274 .. function:: make_server(host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandler) 275 275 276 276 Create a new WSGI server listening on *host* and *port*, accepting connections … … 461 461 462 462 463 .. class:: BaseCGIHandler(stdin, stdout, stderr, environ [, multithread=True [, multiprocess=False]])463 .. class:: BaseCGIHandler(stdin, stdout, stderr, environ, multithread=True, multiprocess=False) 464 464 465 465 Similar to :class:`CGIHandler`, but instead of using the :mod:`sys` and … … 476 476 477 477 478 .. class:: SimpleHandler(stdin, stdout, stderr, environ [,multithread=True [, multiprocess=False]])478 .. class:: SimpleHandler(stdin, stdout, stderr, environ, multithread=True, multiprocess=False) 479 479 480 480 Similar to :class:`BaseCGIHandler`, but designed for use with HTTP origin … … 713 713 # use a class for example). The first argument passed to the function 714 714 # is a dictionary containing CGI-style envrironment variables and the 715 # second variable is the callable object (see PEP 333)715 # second variable is the callable object (see PEP 333). 716 716 def hello_world_app(environ, start_response): 717 717 status = '200 OK' # HTTP Status
Note:
See TracChangeset
for help on using the changeset viewer.