HTTPFound more accurate than HTTPMovedPermanently.
(Just observed this in cc.engine, making observation here also while I'm at it :))
This commit is contained in:
parent
5784c4e963
commit
1bb0fdf2f4
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user