def requote_uri(uri):
<EOL>return quote(unquote_unreserved(uri), safe="<STR_LIT>")<EOL>
Re-quote the given URI.

    This function passes the given URI through an unquote/quote cycle to
    ensure that it is fully and consistently quoted.