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

URL compatibility with httpx #68

Open
snowman2 opened this issue Sep 19, 2022 · 1 comment
Open

URL compatibility with httpx #68

snowman2 opened this issue Sep 19, 2022 · 1 comment

Comments

@snowman2
Copy link

parsedurl = urlparse(r.url)

https://www.python-httpx.org/compatibility/#request-urls

Accessing response.url will return a URL instance, rather than a string.
Use str(response.url) if you need a string instance.

@snowman2
Copy link
Author

Related: #50

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

No branches or pull requests

1 participant