Merge "Makes HTTP Location Header return as utf-8 as opposed to Unicode."
This commit is contained in:
commit
861c0d9e21
@ -355,7 +355,7 @@ class Controller(wsgi.Controller):
|
||||
link = filter(lambda l: l['rel'] == 'self',
|
||||
robj.obj['server']['links'])
|
||||
if link:
|
||||
robj['Location'] = link[0]['href']
|
||||
robj['Location'] = link[0]['href'].encode('utf-8')
|
||||
|
||||
# Convenience return
|
||||
return robj
|
||||
|
Loading…
x
Reference in New Issue
Block a user