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

Changeset 2166

Show
Ignore:
Timestamp:
03/30/09 11:19:53
Author:
klarson
Message:

Changed import rfc822 to email.utils

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/python3/cherrypy/wsgiserver/__init__.py

    r2156 r2166  
    8383import re 
    8484quoted_slash = re.compile("(?i)%2F") 
    85 import rfc822 
     85import email.utils 
    8686import socket 
    8787try: 
     
    693693         
    694694        if "date" not in hkeys: 
    695             self.outheaders.append(("Date", rfc822.formatdate())) 
     695            self.outheaders.append(("Date", email.utils.formatdate())) 
    696696         
    697697        if "server" not in hkeys: 

Hosted by WebFaction

Log in as guest/cpguest to create tickets