You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix test_host_header_security to use httpbin.org for reliable testing (#82)
Replace flaky Cloudflare-based test with httpbin.org/headers which reliably
echoes back received headers. This allows us to directly verify that httpjail
corrects mismatched Host headers without depending on external service
blocking behavior (which was inconsistent across datacenters).
The new approach:
1. Tests what we control: httpjail's Host header correction
2. Uses reliable service: httpbin.org simply echoes headers
3. Has clear assertions: directly checks Host header values
4. No flakiness: doesn't rely on varying security policies
Fixes the test failure that occurred because Cloudflare stopped consistently
blocking mismatched Host headers (error 1034).
0 commit comments