diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-07-24 15:14:35 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-07-24 15:14:35 -0400 |
commit | a94d14fcdb4d5ce65aa7f783cc18e170fe81e33b (patch) | |
tree | 8c7d4211cf3ebdfa706a0a390482fe657b199064 /cherrypy/_cpcompat.py | |
parent | 99f0fe8dad9fe878feb936162952175221bef06b (diff) | |
download | cherrypy-git-a94d14fcdb4d5ce65aa7f783cc18e170fe81e33b.tar.gz |
Move HTTPDate to httputil, where it's actually exposed.
Diffstat (limited to 'cherrypy/_cpcompat.py')
-rw-r--r-- | cherrypy/_cpcompat.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cherrypy/_cpcompat.py b/cherrypy/_cpcompat.py index 1a813996..6c97bc4b 100644 --- a/cherrypy/_cpcompat.py +++ b/cherrypy/_cpcompat.py @@ -19,8 +19,6 @@ import os import re import sys import threading -import functools -import email.utils import six @@ -235,8 +233,6 @@ else: def set_daemon(t, val): t.setDaemon(val) -HTTPDate = functools.partial(email.utils.formatdate, usegmt=True) - try: # Python 3 from urllib.parse import unquote as parse_unquote |