We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92616fe commit 226990aCopy full SHA for 226990a
python/requests/security/no-auth-over-http.py
@@ -2,7 +2,7 @@
2
3
# ok:no-auth-over-http
4
good_url = "https://www.github.com"
5
-# deepruleid:no-auth-over-http
+# ruleid:no-auth-over-http
6
bad_url = "http://www.github.com"
7
8
# ruleid:no-auth-over-http
@@ -32,6 +32,10 @@ def test3():
32
33
r = requests.get(good_url, auth=('user', 'pass'))
34
35
+def test4():
36
+ # ruleid:no-auth-over-http
37
+ r = requests.get(bad_url, auth=('user', 'pass'))
38
+
39
def from_import_test1(url):
40
from requests import get, post
41
0 commit comments