aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/app.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-04-26 15:46:56 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-04-26 15:46:56 -0500
commit1bb0fdf2f4f568019c3449f269c69f406507bd7c (patch)
tree340412f61f7109ea3c8c4543c4d7aece328f27c1 /mediagoblin/app.py
parent5784c4e963b12e0b866ba806f8d2e5c045780d45 (diff)
downloadmediagoblin-1bb0fdf2f4f568019c3449f269c69f406507bd7c.tar.lz
mediagoblin-1bb0fdf2f4f568019c3449f269c69f406507bd7c.tar.xz
mediagoblin-1bb0fdf2f4f568019c3449f269c69f406507bd7c.zip
HTTPFound more accurate than HTTPMovedPermanently.
(Just observed this in cc.engine, making observation here also while I'm at it :))
Diffstat (limited to 'mediagoblin/app.py')
-rw-r--r--mediagoblin/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/app.py b/mediagoblin/app.py
index 3ea405e9..59b943dd 100644
--- a/mediagoblin/app.py
+++ b/mediagoblin/app.py
@@ -82,7 +82,7 @@ class MediaGoblinApp(object):
if request.GET:
new_path_info = '%s?%s' % (
new_path_info, urllib.urlencode(request.GET))
- redirect = exc.HTTPTemporaryRedirect(location=new_path_info)
+ redirect = exc.HTTPFound(location=new_path_info)
return request.get_response(redirect)(environ, start_response)
# Okay, no matches. 404 time!