Skip to content

Commit afcff52

Browse files
committed
fixed some 406 errors
1 parent d180045 commit afcff52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/CurlDispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function dispatch(Url $url)
9191
if (!empty($extension) && isset(self::$acceptHeaders[$extension])) {
9292
$options[CURLOPT_HTTPHEADER] = ['Accept: '.self::$acceptHeaders[$extension]];
9393
} else {
94-
$options[CURLOPT_HTTPHEADER] = ['Accept: text/html'];
94+
$options[CURLOPT_HTTPHEADER] = ['Accept: */*'];
9595
}
9696

9797
$response = $this->exec($url, $options);

0 commit comments

Comments
 (0)