Skip to content

Commit 9db03b8

Browse files
committed
disabled the CURLOPT_ENCODING setting for avoind the #79, #83
1 parent e2162c1 commit 9db03b8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/JiraClient.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,8 @@ public function exec(string $context, array|string $post_data = null, string $cu
236236
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
237237
}
238238

239-
if (\PHP_VERSION_ID < 80307) {
240-
// See https://github.com/php/php-src/issues/14184
241-
curl_setopt($ch, CURLOPT_ENCODING, '');
242-
}
239+
// See https://github.com/php/php-src/issues/14184
240+
// curl_setopt($ch, CURLOPT_ENCODING, '');
243241

244242
curl_setopt(
245243
$ch,

0 commit comments

Comments
 (0)