# requests 2.34.2 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input
When being redirected we may want to strip authentication from the
        request to avoid leaking credentials. This method intelligently removes
        and reapplies authentication where possible to avoid credential loss.
        
=== parse rest
short_description: |
  When being redirected we may want to strip authentication from the
  request to avoid leaking credentials. This method intelligently removes
  and reapplies authentication where possible to avoid credential loss.
blank_after_short_description: False
blank_after_long_description: False
style: rest
=== detect
rest
=== compose rest
When being redirected we may want to strip authentication from the
request to avoid leaking credentials. This method intelligently removes
and reapplies authentication where possible to avoid credential loss.
