Revision 25e7b43f lib/http/server.py
b/lib/http/server.py | ||
---|---|---|
102 | 102 |
@param sock: Target socket |
103 | 103 |
@type request_msg: http.HttpMessage |
104 | 104 |
@param request_msg: Request message, required to determine whether |
105 |
response may have a message body
|
|
105 |
response may have a message body |
|
106 | 106 |
@type response_msg: http.HttpMessage |
107 | 107 |
@param response_msg: Response message |
108 | 108 |
@type write_timeout: float |
... | ... | |
210 | 210 |
class _HttpServerRequestExecutor(object): |
211 | 211 |
"""Implements server side of HTTP. |
212 | 212 |
|
213 |
This class implements the server side of HTTP. It's based on code of Python's |
|
214 |
BaseHTTPServer, from both version 2.4 and 3k. It does not support non-ASCII |
|
215 |
character encodings. Keep-alive connections are not supported. |
|
213 |
This class implements the server side of HTTP. It's based on code of |
|
214 |
Python's BaseHTTPServer, from both version 2.4 and 3k. It does not |
|
215 |
support non-ASCII character encodings. Keep-alive connections are |
|
216 |
not supported. |
|
216 | 217 |
|
217 | 218 |
""" |
218 | 219 |
# The default request version. This only affects responses up until |
... | ... | |
428 | 429 |
@type ssl_params: HttpSslParams |
429 | 430 |
@param ssl_params: SSL key and certificate |
430 | 431 |
@type ssl_verify_peer: bool |
431 |
@param ssl_verify_peer: Whether to require client certificate and compare
|
|
432 |
it with our certificate
|
|
432 |
@param ssl_verify_peer: Whether to require client certificate |
|
433 |
and compare it with our certificate
|
|
433 | 434 |
|
434 | 435 |
""" |
435 | 436 |
http.HttpBase.__init__(self) |
Also available in: Unified diff