Cannot download javadoc package list from JUnit web site
See original GitHub issueI’m trying to get javadoc package list from this url http://junit.org/junit4/javadoc/latest/package-list using HttpURLConnection
. This results in the following request being issued:
GET http://junit.org/junit4/javadoc/latest/package-list HTTP/1.1
User-Agent: Java/1.8.0_144
Host: junit.org
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Then this request gets rejected with 403 error and the following body
Error 1010 Ray ID: 3e9f21c3f0ae871b • 2018-02-08 14:03:21 UTC
Access denied What happened? The owner of this website (junit.org) has banned your access based on your browser’s signature (3e9f21c3f0ae871b-ua21).
Obviously, I could change the User-Agent header to something else, but the question is why do you prohibit that default Java user-agent header in the first place?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to download Javadoc to read offline? - Stack Overflow
Go to the Java SE page, select the Downloads tab and under the Additional downloads, there're Download buttons for the docs. If you...
Read more >Cannot access package-list in published Javadoc #1289
An upgrade in the JDK used to generate Javadoc for JUnit 5 caused the package-list file to stop being published beginning with JUnit...
Read more >Download Sources and Javadocs with Maven - Baeldung
In this short tutorial, we'll see how to configure Maven, or ask of Maven, to download the dependency sources and their Javadocs for...
Read more >Eclipse: Downloading & Enabling Javadocs
Eclipse: Downloading & Enabling Javadocs. This tutorial shows you how to download the official Java 10 Standard Edition (SE) documentation (or "Javadocs"), ...
Read more >Javadoc Command - Oracle Help Center
Names of files that contain a list of javadoc command options, package names, ... For more details on security issues related to web...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s protection from cloudflare, might be they classify java as a bot.
@marcphilipp Now it’s fine, thank you!