From 4122e6464bab2b2a16ad78258c24ef1f38b3d045 Mon Sep 17 00:00:00 2001 From: ianb Date: Thu, 26 Jan 2006 18:19:43 +0000 Subject: stupid syntax error in last commit --- paste/urlparser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'paste/urlparser.py') 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): -- cgit v1.2.1