Files
python-swiftclient/test
Anthony Roussel ee39a1507f Fix compatibility with urllib3 v2.6
urllib3 v2.6 removed `HTTPResponse.getheader(name, default)` in favor of
`HTTPResponse.headers.get(name, default)`, see https://github.com/urllib3/urllib3/pull/3622

Changed from `resp.raw.getheader` to `resp.headers.get` for compatibility.
Fixed `test_response_headers` test to verify getheader() works properly.

Change-Id: Ic0fab4ca6407f5435d87aa02d533f3eb826f5b3b
Signed-off-by: Anthony Roussel <anthony@roussel.dev>
2026-02-23 23:51:43 +01:00
..
2022-08-18 22:39:35 +09:00
2026-02-23 23:51:43 +01:00