Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

xrmx
Copy link
Member

@xrmx xrmx commented Mar 12, 2024

What does this pull request do?

In c1dd69e we changed the logic of update_headers taking into account a new body arg before the one for headers.
The problem is that HTTPConnectionPool.urlopen did not change at all, only HTTPConnectionPool.request did so the old login update_headers was fine.

Related issues

Closes #1928

@github-actions github-actions bot added agent-python community Issues opened by the community triage Issues awaiting triage labels Mar 12, 2024
In c1dd69e we changed the logic of
update_headers taking into account a new body arg before the one for
headers.
The problem is that HTTPConnectionPool.urlopen did not change at all,
only HTTPConnectionPool.request did so the old login update_headers was
fine.

Fix elastic#1928
@xrmx xrmx force-pushed the fix-urllib3-2x-1928 branch from 708f229 to 28a5d72 Compare March 12, 2024 10:48
@xrmx xrmx requested a review from pquentin March 12, 2024 11:00
Copy link
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@xrmx xrmx requested a review from trentm March 12, 2024 15:48
@xrmx xrmx merged commit fd550df into elastic:main Mar 13, 2024
@tonyman19
Copy link
Contributor

@xrmx Good Evening! Have a question about who will create the release with bugfix that you introduced?

@xrmx
Copy link
Member Author

xrmx commented Mar 13, 2024

@tonyman19 need a couple more commits to get in and then I'll cut a new release

xrmx added a commit that referenced this pull request Mar 20, 2024
In c1dd69e we changed the logic of
update_headers taking into account a new body arg before the one for
headers.
The problem is that HTTPConnectionPool.urlopen did not change at all,
only HTTPConnectionPool.request did so the old login update_headers was
fine.

Fix #1928
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-python community Issues opened by the community triage Issues awaiting triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: 'Retry' object has no attribute 'copy'
4 participants