Commit graph

2 commits

Author SHA1 Message Date
pythoninthegrass
82f65990e7 Remove unused ProxyConfig import from compression tests
Fixes linting error F401 where ProxyConfig was imported but never used.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-14 20:27:08 -06:00
pythoninthegrass
876e8601cf Add tests for compression header removal fix
Test cases verify:
- Content-Encoding and Content-Length headers are correctly removed
- Response bodies are already decompressed by httpx
- Keeping compression headers causes length mismatch issues
- The fix doesn't break uncompressed responses

These tests will catch regressions of the ZlibError bug.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-14 20:03:14 -06:00