blob: 88dbd60fae7a41e245a0b822f8336ddeff56f410 (
plain)
1
2
3
4
5
|
from wptserve.utils import isomorphic_encode
def main(request, response):
response.status = 302
response.headers.set(b"Location", isomorphic_encode(request.url[request.url.find(u'?')+1:]))
|