summaryrefslogtreecommitdiff
path: root/paste/httpexceptions.py
diff options
context:
space:
mode:
authorcce <devnull@localhost>2005-12-25 02:35:30 +0000
committercce <devnull@localhost>2005-12-25 02:35:30 +0000
commitc20651c4ab714f88f58f1ebbaa312d58f2ae9abd (patch)
tree4f18747d087f9851b1b02221eb8beccd4fee5cbc /paste/httpexceptions.py
parent370ba732f785cc211e850664ecfea6a62fea30b4 (diff)
downloadpaste-c20651c4ab714f88f58f1ebbaa312d58f2ae9abd.tar.gz
- added Range: functionality to FileApp
- removed unnecessary trailing whitespace in fixture.py - no longer reporting socket failures in httpserver - fixed some caching issues /w fileapp
Diffstat (limited to 'paste/httpexceptions.py')
-rw-r--r--paste/httpexceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/httpexceptions.py b/paste/httpexceptions.py
index 8e46224..0ccd83d 100644
--- a/paste/httpexceptions.py
+++ b/paste/httpexceptions.py
@@ -379,7 +379,7 @@ class HTTPNotFound(HTTPClientError):
explanation = ('The resource could not be found.')
class HTTPMethodNotAllowed(HTTPClientError):
- required_headers = ('allowed',)
+ required_headers = ('allow',)
code = 405
title = 'Method Not Allowed'
# override template since we need an environment variable