Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1296

Show
Ignore:
Timestamp:
08/29/06 01:32:44
Author:
fumanchu
Message:

A couple doc tweaks.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/_cprequest.py

    r1292 r1296  
    588588        return url 
    589589    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).") 
    591591     
    592592    def process_body(self): 
     
    755755                dict.__setitem__(headers, 'Content-Length', len(content)) 
    756756         
    757         # Transform our header dict into a sorted list of tuples. 
     757        # Transform our header dict into a list of tuples. 
    758758        self.header_list = h = headers.output(cherrypy.request.protocol) 
    759759         
  • trunk/cherrypy/_cpwsgiserver.py

    r1286 r1296  
    133133        # set a non-standard environ entry so the WSGI app can know what 
    134134        # the *real* server protocol is (and what features to support). 
     135        # See http://www.faqs.org/rfcs/rfc2145.html. 
    135136        self.environ["ACTUAL_SERVER_PROTOCOL"] = server.protocol 
    136137        self.response_protocol = "HTTP/%s.%s" % min(rp, sp) 
  • trunk/cherrypy/lib/http.py

    r1243 r1296  
    4545    if applied against a Python string, is requesting resource[3:7]. This 
    4646    function will return the list [(3, 7)]. 
     47     
     48    If this function return an empty list, you should return HTTP 416. 
    4749    """ 
    4850     

Hosted by WebFaction

Log in as guest/cpguest to create tickets