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

HTTP Versions #574

Open
NateNohling opened this issue Oct 28, 2024 · 1 comment
Open

HTTP Versions #574

NateNohling opened this issue Oct 28, 2024 · 1 comment

Comments

@NateNohling
Copy link

I have a website that I have had a significant amount of httr2::req_perform code suddenly returning only 403 errors. I have changed user_agent and headers with no luck.

Python code using http.client using the exact same settings in positron works fine, so I am wondering if its due to HTTP 1.1 vs HTTP 2 or HTTP 3. Is there anyway to update the get request to a different HTTP version? Currently wrote a workaround using rvest::read_html_live but would like to go back to httr2 if possible.

@hadley
Copy link
Member

hadley commented Oct 29, 2024

Can you please provide a minimal reprex (reproducible example)? The goal of a reprex is to make it as easy as possible for me to recreate your problem so that I can fix it: please help me help you! If you've never heard of a reprex before, start by reading about the reprex package, including the advice further down the page. Please make sure your reprex is created with the reprex package as it gives nicely formatted output and avoids a number of common pitfalls.

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

2 participants