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

Changeset 314

Show
Ignore:
Timestamp:
06/14/05 18:25:12
Author:
fumanchu
Message:

A couple of quickie speedups.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/ooconf/cherrypy/_cphttptools.py

    r309 r314  
    8686        resp.body = None 
    8787         
    88         year, month, day, hh, mm, ss, wd, y, z = time.gmtime(time.time()
     88        year, month, day, hh, mm, ss, wd, y, z = time.gmtime(
    8989        date = ("%s, %02d %3s %4d %02d:%02d:%02d GMT" % 
    9090                (weekdayname[wd], day, monthname[month], year, hh, mm, ss)) 
     
    162162                cpg.request.simpleCookie.load(value) 
    163163         
    164         # Set peer_certificate (in SSL mode) so the 
    165         # web app can examine the client certificate 
    166         try: 
    167             cpg.request.peerCertificate = self.request.get_peer_certificate() 
    168         except: 
    169             pass 
    170164        msg = "%s - %s" % (cpg.request.remoteAddr, self.requestLine[:-2]) 
    171165        _cputil.getSpecialAttribute('_cpLogMessage')(msg, "HTTP") 

Hosted by WebFaction

Log in as guest/cpguest to create tickets