summaryrefslogtreecommitdiff
path: root/paste/urlparser.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-01-26 18:19:43 +0000
committerianb <devnull@localhost>2006-01-26 18:19:43 +0000
commit4122e6464bab2b2a16ad78258c24ef1f38b3d045 (patch)
tree79a3858a45095b5deb08258849e278c540058d2e /paste/urlparser.py
parentccdb9ac58ba6c71551e1dc6e5ae1b2ac14c81d8c (diff)
downloadpaste-4122e6464bab2b2a16ad78258c24ef1f38b3d045.tar.gz
stupid syntax error in last commit
Diffstat (limited to 'paste/urlparser.py')
-rw-r--r--paste/urlparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/urlparser.py b/paste/urlparser.py
index 625d326..5a8ebaa 100644
--- a/paste/urlparser.py
+++ b/paste/urlparser.py
@@ -219,7 +219,7 @@ class URLParser(object):
exc = httpexceptions.HTTPMovedPermanently(
'The resource has moved to %s - you should be redirected '
'automatically.''' % url,
- headers={'location', url})
+ headers={'location': url})
return exc.wsgi_application(environ, start_response)
def find_file(self, environ, base_filename):
@@ -457,7 +457,7 @@ class StaticURLParser(object):
exc = httpexceptions.HTTPMovedPermanently(
'The resource has moved to %s - you should be redirected '
'automatically.''' % url,
- headers={'location', url})
+ headers={'location': url})
return exc.wsgi_application(environ, start_response)
def not_found(self, environ, start_response, debug_message=None):