From 988bc831b29c155fcca1989d6c8c15c0ef570f64 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 26 Aug 2020 19:43:11 +0000 Subject: [PATCH] no headers --- ext/eokm/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/eokm/main.php b/ext/eokm/main.php index ea704c68..faaffc22 100644 --- a/ext/eokm/main.php +++ b/ext/eokm/main.php @@ -16,7 +16,7 @@ class Eokm extends Extension if($username && $password) { $ch = curl_init("https://api.eokmhashdb.nl/v1/check/md5"); // curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/xml', $additionalHeaders)); - curl_setopt($ch, CURLOPT_HEADER, 1); + curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_USERPWD, $username . ":" . $password); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_POST, 1);