1. cherrypy
  2. CherryPy

Source

CherryPy / cherrypy / lib / http.py

The branch '815-urljoin' does not exist.
Author Commit Message Date Builds
Robert Brewer
Most of the fix for #815 (URL contains multiple slashes).
Branches
815-urljoin
Robert Brewer
Minor refactor and dropping an unused import.
Robert Brewer
Moved an import.
Robert Brewer
Fix for #763 (Exception when parsing Content-Type).
Robert Brewer
Fix for #622, #742, #736. The wsgiserver would respond without closing connection and without reading the full request. Fixed now.
Robert Brewer
Fix and tests for http.urljoin. Did not correctly handle blank PATH_INFO's.
Robert Brewer
Trunk fix for #677 (_cpwsgi requestLine: PATH_INFO SCRIPT_NAME).
Robert Brewer
Docstring update and more RFC terminology.
Robert Brewer
Import minimization for #672: xmlrpclib.
Robert Brewer
Docstring updates.
Robert Brewer
First crack at attribute docs on major components. New cherrypy._AttributeDocstrings metaclass to fold magic attribute docs into the class docstring.
Robert Brewer
Fixed serious buglet in SizeCheckWrapper (allowed unmonitored read).
Robert Brewer
Removed obsolete code for multivalent HeaderMap entries.
Sylvain Hellegouarch
Fix #578
Robert Brewer
No need to encode a string twice. :/
Robert Brewer
A couple doc tweaks.
Robert Brewer
Lots of mixedCase to lower_with_underscores.
Robert Brewer
Replaced request.remote_addr, remote_port, and remote_host with a single "remote" attribute, an instance of lib.http.Host, which has "ip", "port" and "name" attributes. Added a similar request.local attribute. Changed request() signature to (local, remote, scheme). This allows requests run behind multiple HTTP servers to know the address info for their particular connection.
Robert Brewer
WSGI-related changes: 1. Changed Request.run from request_line arg to deconstructed args: method, path, query_string, and protocol. 2. Moved HTTP protocol checking from _cprequest to _cpwsgiserver. What was cherrypy.response.version is now cherrypy.request.protocol (tuple form of SERVER_PROTOCOL). request.version and response.version attributes removed. _cpwsgiserver now writes out server.protocol, not SERVER_PROTOCO…
Robert Brewer
Moved RFC 2047 encoding into http.HeaderMap. Changed HeaderMap.sorted_list to HeaderMap.output (which does not sort).
Robert Brewer
Precompile some regexes for a speed boost.
Robert Brewer
encode_TEXT only for HTTP/1.1 response headers, and verify folded response headers start with linear whitespace.
Robert Brewer
Added support for RFC 2047 encoding and decoding of header values.
Robert Brewer
Replaced http.HTTPDate with its clone rfc822.formatdate.
Robert Brewer
Renamed httptools to "http" to reduce confusion with new cherrypy.tools. Moved non-Tool-related code from cptools to {{{lib/__init__}}}. Added docstrings.