Skip to content

Conversation

@Joibel
Copy link
Member

@Joibel Joibel commented Dec 8, 2025

#15117 for 3.6

Add compatibility layer for urllib3 HTTPResponse getheader and getheaders
methods to support both old and new versions of urllib3.

- Check for getheader/getheaders methods (urllib3 < 2.0)
- Fall back to headers attribute (urllib3 >= 2.0)
- Fixes AttributeError when using urllib3 2.x in Python SDK tests

Signed-off-by: shuangkun <[email protected]>
(cherry picked from commit fb2cf6c)
@coderabbitai
Copy link

coderabbitai bot commented Dec 8, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-python-sdk-36

Comment @coderabbitai help to get the list of available commands and usage tips.

@Joibel Joibel merged commit 2ffc9bb into release-3.6 Dec 8, 2025
28 of 29 checks passed
@Joibel Joibel deleted the fix-python-sdk-36 branch December 8, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants