You are given a repository implementing a custom HTTP requests library (similar in spirit to Python's requests). Two test cases are failing, both involving 301 redirects with streaming data (one with a file stream, one with binary data). The symptom is that reading response content during or after a redirect…