def rebuild_auth(self, prepared_request, response):
if "<STR_LIT>" in prepared_request.headers:<EOL><INDENT>prepared_request.headers.pop("<STR_LIT>", True)<EOL>prepared_request.prepare_auth(self.auth)<EOL><DEDENT>return<EOL>
When being redirected we should always strip Authorization
header, since nonce may not be reused as per OAuth spec.