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

Limit max_redirects by default #193

Open
T-256 opened this issue Dec 26, 2023 · 0 comments
Open

Limit max_redirects by default #193

T-256 opened this issue Dec 26, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@T-256
Copy link
Contributor

T-256 commented Dec 26, 2023

curl-cffi uses infinity redirects, in requests the default max_redirects is 30:

max_redirects

Maximum number of redirects allowed. If the request exceeds this limit, a TooManyRedirects exception is raised. This defaults to requests.models.DEFAULT_REDIRECT_LIMIT, which is 30.

Originally posted by @T-256 in #174 (comment)

@yifeikong yifeikong added the good first issue Good for newcomers label Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants