-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make quiet mode default, add verbose flag, add standard User Agent he…
…ader to avoid some WAFs
- Loading branch information
1 parent
b7f3554
commit 24fdbec
Showing
3 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.8.0" | ||
__version__ = "1.9.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import unittest | ||
|
||
from sricheck.sricheck import SRICheck | ||
|
||
class TestHeaders(unittest.TestCase): | ||
def test_with_standard_headers(self): | ||
check = SRICheck("https://www.4armed.com") | ||
self.assertEqual(check.headers["User-Agent"], "4ARMED SRI Check (https://github.com/4armed/sri-check)") |