Skip to content

Commit bdec9f9

Browse files
add var_dump on set headers
1 parent 154b63f commit bdec9f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/php/libsdk/SDK/FileOps.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ protected function download(string $url, string $dest_fn = NULL) : ?string
143143
$token = getenv('API_TOKEN');
144144
if (!empty($token)) {
145145
echo "**** define authorization header ! ****\n";
146-
curl_setopt($ch, CURLOPT_HTTPHEADER, ['x-custom-header: top1','Authorization: Bearer '.$token]);
146+
var_dump(curl_setopt($ch, CURLOPT_HTTPHEADER, ['x-custom-header: top1','Authorization: Bearer '.$token]));
147147
}
148148

149149
// workaround for <https://github.com/microsoft/php-sdk-binary-tools/issues/69>

0 commit comments

Comments
 (0)