mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 08:13:43 +01:00
Added the Accept-Encoding header to speed up downloads
Former-commit-id: 669fed48dcf120c5a1bef0e6073e0107afd0db4a
This commit is contained in:
@@ -52,7 +52,7 @@ public class DownloaderIntegrationTest {
|
||||
// Settings.setString(Settings.KEYS.PROXY_URL, "127.0.0.1");
|
||||
|
||||
//URL url = new URL(Settings.getString(Settings.KEYS.CPE_URL));
|
||||
URL url = new URL("http://static.nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-modified.xml");
|
||||
URL url = new URL("http://static.nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-2010.xml");
|
||||
|
||||
String outputPath = "target\\downloaded_cpe.xml";
|
||||
Downloader.fetchFile(url, outputPath);
|
||||
|
||||
Reference in New Issue
Block a user