and unpacked dictionary kwargs. call the function iri_to_uri with an argument redirect_to, substitute the result for the value under the 'Location' key of the self dictionary.
self [ 'Location' ] = iri_to_uri ( redirect_to )