Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't mutate superclass internals #9

Merged
merged 1 commit into from
Aug 4, 2021

Conversation

mswaanen
Copy link
Contributor

Fixes #8

Simple reproduction case:

from forcediphttpsadapter.adapters import ForcedIPHTTPSAdapter
import requests


URL = "https://google.com"
IP = "74.125.193.113"


session = requests.Session()
session.mount(URL, ForcedIPHTTPSAdapter(dest_ip=IP))

print(session.get(URL).status_code)
print(session.get(URL).status_code)

@Roadmaster Roadmaster merged commit a61e734 into Roadmaster:master Aug 4, 2021
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.

TypeError: <lambda>() got an unexpected keyword argument 'key_dest_ip'
2 participants