Baseflow / flutter_cache_manager

Generic cache manager for flutter
https://baseflow.com
MIT License
739 stars 426 forks source link

Handling redirect manually #356

Closed hadi-codes closed 2 years ago

hadi-codes commented 2 years ago

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Bug fix

:arrow_heading_down: What is the current behavior?

when redirect request occurs, the headers are always sent along with it

:new: What is the new behavior (if this is a feature change)?

when redirect request occurs, the headers will be sent along with it when the hosts are the same

:boom: Does this PR introduce a breaking change?

no

:bug: Recommendations for testing

:memo: Links to relevant issues/docs

https://github.com/Baseflow/flutter_cached_network_image/issues/494 https://github.com/flutter/flutter/issues/34894

:thinking: Checklist before submitting