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

[Bug]: URL params #19

Open
keef opened this issue Feb 2, 2025 · 1 comment
Open

[Bug]: URL params #19

keef opened this issue Feb 2, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@keef
Copy link

keef commented Feb 2, 2025

TLS Requests version

v1.1.0

Issue description

params are not encoded properly, i get this instead https://httpbin.org/get?key1%3Dvalue1%26key2%3Dvalue2

Steps to reproduce / Code Sample

import tls_requests
params = {'key1': 'value1', 'key2': 'value2'}
r = tls_requests.get('https://httpbin.org/get', params=params)
print(r.url)

https://httpbin.org/get?key1%3Dvalue1%26key2%3Dvalue2

@keef keef added the bug Something isn't working label Feb 2, 2025
@thewebscraping
Copy link
Owner

@keef
I'm working on patching it up.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants