Small improvements

This commit is contained in:
M66B
2022-07-24 12:27:59 +02:00
parent af27b4dd7a
commit f5fff57f88
2 changed files with 2 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ public class VirusTotal {
connection.setConnectTimeout(VT_TIMEOUT * 1000);
ConnectionHelper.setUserAgent(context, connection);
connection.setRequestProperty("x-apikey", apikey);
connection.setRequestProperty("Accept", "application/json");
connection.connect();
try {