Skip to content

Commit

Permalink
dont follow redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed Jan 16, 2024
1 parent b4fed6d commit 784716d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Spellbook/Core/UserAgent.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ package Spellbook::Core::UserAgent {
);

$userAgent -> default_headers -> push_header("Cache-Control" => "no-cache");
$userAgent -> max_redirect(0);

return $userAgent;
}
Expand Down

0 comments on commit 784716d

Please sign in to comment.