Changeset 314
- Timestamp:
- 06/14/05 18:25:12
- Files:
-
- branches/ooconf/cherrypy/_cphttptools.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/ooconf/cherrypy/_cphttptools.py
r309 r314 86 86 resp.body = None 87 87 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() 89 89 date = ("%s, %02d %3s %4d %02d:%02d:%02d GMT" % 90 90 (weekdayname[wd], day, monthname[month], year, hh, mm, ss)) … … 162 162 cpg.request.simpleCookie.load(value) 163 163 164 # Set peer_certificate (in SSL mode) so the165 # web app can examine the client certificate166 try:167 cpg.request.peerCertificate = self.request.get_peer_certificate()168 except:169 pass170 164 msg = "%s - %s" % (cpg.request.remoteAddr, self.requestLine[:-2]) 171 165 _cputil.getSpecialAttribute('_cpLogMessage')(msg, "HTTP")

