Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa committed Oct 12, 2023
1 parent 9b422e0 commit 492a542
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Seo.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,13 @@ private function visitPage(string $url): object
$headers = (array) config('seo.http.headers', []);
$options = (array) config('seo.http.options', []);

$options = array_merge($options, [
'decode_content' => false,
]);

$response = $this->http::withOptions($options)
->withHeaders([
'Accept-Encoding' => 'gzip, deflate',
'decode_content' => false,
...$headers,
]);

Expand Down

0 comments on commit 492a542

Please sign in to comment.