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

Changeset 1685

Show
Ignore:
Timestamp:
06/23/07 18:29:49
Author:
fumanchu
Message:

cpmodpy fix for get_serving bugs.

Files:

Legend:

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

    r1652 r1685  
    164164            path = req.uri 
    165165            qs = req.args or "" 
    166             sproto = req.protocol 
     166            reqproto = req.protocol 
    167167            headers = req.headers_in.items() 
    168168            rfile = _ReadOnlyRequest(req) 
     
    171171            redirections = [] 
    172172            while True: 
    173                 request = app.get_serving(local, remote, scheme) 
     173                request, response = app.get_serving(local, remote, scheme, 
     174                                                    "HTTP/1.1") 
    174175                request.login = req.user 
    175176                request.multithread = bool(threaded) 
     
    180181                # Run the CherryPy Request object and obtain the response 
    181182                try: 
    182                     response = request.run(method, path, qs, sproto, headers, rfile) 
     183                    request.run(method, path, qs, reqproto, headers, rfile) 
    183184                    break 
    184185                except cherrypy.InternalRedirect, ir: 

Hosted by WebFaction

Log in as guest/cpguest to create tickets