Changeset 1296
- Timestamp:
- 08/29/06 01:32:44
- Files:
-
- trunk/cherrypy/_cprequest.py (modified) (2 diffs)
- trunk/cherrypy/_cpwsgiserver.py (modified) (1 diff)
- trunk/cherrypy/lib/http.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cprequest.py
r1292 r1296 588 588 return url 589 589 browser_url = property(_get_browser_url, 590 doc="The URL as entered in a browser (read-only).")590 doc="The URL as entered in a browser (read-only).") 591 591 592 592 def process_body(self): … … 755 755 dict.__setitem__(headers, 'Content-Length', len(content)) 756 756 757 # Transform our header dict into a sortedlist of tuples.757 # Transform our header dict into a list of tuples. 758 758 self.header_list = h = headers.output(cherrypy.request.protocol) 759 759 trunk/cherrypy/_cpwsgiserver.py
r1286 r1296 133 133 # set a non-standard environ entry so the WSGI app can know what 134 134 # the *real* server protocol is (and what features to support). 135 # See http://www.faqs.org/rfcs/rfc2145.html. 135 136 self.environ["ACTUAL_SERVER_PROTOCOL"] = server.protocol 136 137 self.response_protocol = "HTTP/%s.%s" % min(rp, sp) trunk/cherrypy/lib/http.py
r1243 r1296 45 45 if applied against a Python string, is requesting resource[3:7]. This 46 46 function will return the list [(3, 7)]. 47 48 If this function return an empty list, you should return HTTP 416. 47 49 """ 48 50

