diff options
author | Michael Robinson <none@none> | 2005-09-13 22:47:59 +0000 |
---|---|---|
committer | Michael Robinson <none@none> | 2005-09-13 22:47:59 +0000 |
commit | e9e32c46aff0bd1862266583cb5a095be951e790 (patch) | |
tree | 27d0c6543d4d1bb2bebef0b36eea4006872ababf /cherrypy/lib/cptools.py | |
parent | 48a513099c80e97e506eba102e331064b7d0aa38 (diff) | |
download | cherrypy-git-e9e32c46aff0bd1862266583cb5a095be951e790.tar.gz |
ticket:288 changes merged into trunk, deleted httperrors branch, added assertErrorPage to CPWebCase
Diffstat (limited to 'cherrypy/lib/cptools.py')
-rw-r--r-- | cherrypy/lib/cptools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/lib/cptools.py b/cherrypy/lib/cptools.py index e2783433..d898b1cf 100644 --- a/cherrypy/lib/cptools.py +++ b/cherrypy/lib/cptools.py @@ -205,7 +205,7 @@ def getRanges(content_length): if result == []: cherrypy.response.headerMap['Content-Range'] = "bytes */%s" % content_length message = "Invalid Range (first-byte-pos greater than Content-Length)" - raise cherrypy.HTTPStatusError(416, message) + raise cherrypy.HTTPError(416, message) return result |