-
Notifications
You must be signed in to change notification settings - Fork 4
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
404 but website exists when running in parallel #15
Comments
It seems to be an issue about running in parallel -- |
I get a 404 in command line curl as well. It seems like that website doesn't properly support HEAD requests.
When urlchecker/inst/tools/urltools.R Line 688 in 022f0b0
But actually I get a 404 from that one as well. curlGetHeaders("https://marketplace.visualstudio.com/items?itemName=REditorSupport.r-lsp")
[1] "HTTP/2 404 \r\n" I am not sure why this is not showing up in both cases then, possibly it is a bug in the way the output is being handled in tools package? |
I am also getting 404 from
Then
vs with
Same result when tracing to use
|
OK I see now... But then it follows up to run Which goes on to succeed. Why it succeeds is above my head (setting cookies maybe?): |
What happens is that the base R functions tries a GET request for all the URLs that were not 200, and if the GET request is 200, then that will be used for the result. We should probably do the same in urlchecker. |
As seen at r-lib/lintr#828:
https://marketplace.visualstudio.com/items?itemName=REditorSupport.r-lsp triggers a 404 but I'm not having any issue navigating there in Firefox nor Chrome (also tested Chrome Incognito). Not sure what to make of the issue.
The text was updated successfully, but these errors were encountered: