summaryrefslogtreecommitdiff
path: root/cherrypy/test/benchmark.py
diff options
context:
space:
mode:
authorLakin Wecker <none@none>2009-05-31 00:27:42 +0000
committerLakin Wecker <none@none>2009-05-31 00:27:42 +0000
commit5da41796e4c52b19b022175c6bfd3498ed0cd6e1 (patch)
treef3be3d3fb0e10ccd730935cdc8c09cc893318d8b /cherrypy/test/benchmark.py
parent720bdb427d064dcaacb758558787f5a3adfe59fc (diff)
downloadcherrypy-git-5da41796e4c52b19b022175c6bfd3498ed0cd6e1.tar.gz
trunk - Porting the cherrypy.lib.httputil name change. It'll be easier to maintain two released branches if the modules are named the same. However, in the 2.6 branch we'll leave cherrypy.lib.http working and deprecate it for 3.3.
Diffstat (limited to 'cherrypy/test/benchmark.py')
-rw-r--r--cherrypy/test/benchmark.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/test/benchmark.py b/cherrypy/test/benchmark.py
index 32ffeb66..74df8825 100644
--- a/cherrypy/test/benchmark.py
+++ b/cherrypy/test/benchmark.py
@@ -32,7 +32,7 @@ import traceback
import cherrypy
from cherrypy import _cperror, _cpmodpy
-from cherrypy.lib import http
+from cherrypy.lib import httputil
AB_PATH = ""
@@ -115,7 +115,7 @@ class NullRequest:
cherrypy.response.status = "204 No Content"
cherrypy.response.header_list = [("Content-Type", 'text/html'),
("Server", "Null CherryPy"),
- ("Date", http.HTTPDate()),
+ ("Date", httputil.HTTPDate()),
("Content-Length", "0"),
]
cherrypy.response.body = [""]