---
source: crates/ruff_linter/src/rules/flake8_bandit/mod.rs
---
S501 Probable use of `requests` call with `verify=False` disabling SSL certificate checks
 --> S501.py:5:47
  |
4 | requests.get('https://gmail.com', timeout=30, verify=True)
5 | requests.get('https://gmail.com', timeout=30, verify=False)
  |                                               ^^^^^^^^^^^^
6 | requests.post('https://gmail.com', timeout=30, verify=True)
7 | requests.post('https://gmail.com', timeout=30, verify=False)
  |

S501 Probable use of `requests` call with `verify=False` disabling SSL certificate checks
 --> S501.py:7:48
  |
5 | requests.get('https://gmail.com', timeout=30, verify=False)
6 | requests.post('https://gmail.com', timeout=30, verify=True)
7 | requests.post('https://gmail.com', timeout=30, verify=False)
  |                                                ^^^^^^^^^^^^
8 | requests.put('https://gmail.com', timeout=30, verify=True)
9 | requests.put('https://gmail.com', timeout=30, verify=False)
  |

S501 Probable use of `requests` call with `verify=False` disabling SSL certificate checks
  --> S501.py:9:47
   |
 7 | requests.post('https://gmail.com', timeout=30, verify=False)
 8 | requests.put('https://gmail.com', timeout=30, verify=True)
 9 | requests.put('https://gmail.com', timeout=30, verify=False)
   |                                               ^^^^^^^^^^^^
10 | requests.delete('https://gmail.com', timeout=30, verify=True)
11 | requests.delete('https://gmail.com', timeout=30, verify=False)
   |

S501 Probable use of `requests` call with `verify=False` disabling SSL certificate checks
  --> S501.py:11:50
   |
 9 | requests.put('https://gmail.com', timeout=30, verify=False)
10 | requests.delete('https://gmail.com', timeout=30, verify=True)
11 | requests.delete('https://gmail.com', timeout=30, verify=False)
   |                                                  ^^^^^^^^^^^^
12 | requests.patch('https://gmail.com', timeout=30, verify=True)
13 | requests.patch('https://gmail.com', timeout=30, verify=False)
   |

S501 Probable use of `requests` call with `verify=False` disabling SSL certificate checks
  --> S501.py:13:49
   |
11 | requests.delete('https://gmail.com', timeout=30, verify=False)
12 | requests.patch('https://gmail.com', timeout=30, verify=True)
13 | requests.patch('https://gmail.com', timeout=30, verify=False)
   |                                                 ^^^^^^^^^^^^
14 | requests.options('https://gmail.com', timeout=30, verify=True)
15 | requests.options('https://gmail.com', timeout=30, verify=False)
   |

S501 Probable use of `requests` call with `verify=False` disabling SSL certificate checks
  --> S501.py:15:51
   |
13 | requests.patch('https://gmail.com', timeout=30, verify=False)
14 | requests.options('https://gmail.com', timeout=30, verify=True)
15 | requests.options('https://gmail.com', timeout=30, verify=False)
   |                                                   ^^^^^^^^^^^^
16 | requests.head('https://gmail.com', timeout=30, verify=True)
17 | requests.head('https://gmail.com', timeout=30, verify=False)
   |

S501 Probable use of `requests` call with `verify=False` disabling SSL certificate checks
  --> S501.py:17:48
   |
15 | requests.options('https://gmail.com', timeout=30, verify=False)
16 | requests.head('https://gmail.com', timeout=30, verify=True)
17 | requests.head('https://gmail.com', timeout=30, verify=False)
   |                                                ^^^^^^^^^^^^
18 | requests.request('GET', 'https://gmail.com', timeout=30, verify=True)
19 | requests.request('GET', 'https://gmail.com', timeout=30, verify=False)
   |

S501 Probable use of `requests` call with `verify=False` disabling SSL certificate checks
  --> S501.py:19:58
   |
17 | requests.head('https://gmail.com', timeout=30, verify=False)
18 | requests.request('GET', 'https://gmail.com', timeout=30, verify=True)
19 | requests.request('GET', 'https://gmail.com', timeout=30, verify=False)
   |                                                          ^^^^^^^^^^^^
20 |
21 | httpx.request('GET', 'https://gmail.com', verify=True)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:22:43
   |
21 | httpx.request('GET', 'https://gmail.com', verify=True)
22 | httpx.request('GET', 'https://gmail.com', verify=False)
   |                                           ^^^^^^^^^^^^
23 | httpx.get('https://gmail.com', verify=True)
24 | httpx.get('https://gmail.com', verify=False)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:24:32
   |
22 | httpx.request('GET', 'https://gmail.com', verify=False)
23 | httpx.get('https://gmail.com', verify=True)
24 | httpx.get('https://gmail.com', verify=False)
   |                                ^^^^^^^^^^^^
25 | httpx.options('https://gmail.com', verify=True)
26 | httpx.options('https://gmail.com', verify=False)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:26:36
   |
24 | httpx.get('https://gmail.com', verify=False)
25 | httpx.options('https://gmail.com', verify=True)
26 | httpx.options('https://gmail.com', verify=False)
   |                                    ^^^^^^^^^^^^
27 | httpx.head('https://gmail.com', verify=True)
28 | httpx.head('https://gmail.com', verify=False)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:28:33
   |
26 | httpx.options('https://gmail.com', verify=False)
27 | httpx.head('https://gmail.com', verify=True)
28 | httpx.head('https://gmail.com', verify=False)
   |                                 ^^^^^^^^^^^^
29 | httpx.post('https://gmail.com', verify=True)
30 | httpx.post('https://gmail.com', verify=False)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:30:33
   |
28 | httpx.head('https://gmail.com', verify=False)
29 | httpx.post('https://gmail.com', verify=True)
30 | httpx.post('https://gmail.com', verify=False)
   |                                 ^^^^^^^^^^^^
31 | httpx.put('https://gmail.com', verify=True)
32 | httpx.put('https://gmail.com', verify=False)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:32:32
   |
30 | httpx.post('https://gmail.com', verify=False)
31 | httpx.put('https://gmail.com', verify=True)
32 | httpx.put('https://gmail.com', verify=False)
   |                                ^^^^^^^^^^^^
33 | httpx.patch('https://gmail.com', verify=True)
34 | httpx.patch('https://gmail.com', verify=False)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:34:34
   |
32 | httpx.put('https://gmail.com', verify=False)
33 | httpx.patch('https://gmail.com', verify=True)
34 | httpx.patch('https://gmail.com', verify=False)
   |                                  ^^^^^^^^^^^^
35 | httpx.delete('https://gmail.com', verify=True)
36 | httpx.delete('https://gmail.com', verify=False)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:36:35
   |
34 | httpx.patch('https://gmail.com', verify=False)
35 | httpx.delete('https://gmail.com', verify=True)
36 | httpx.delete('https://gmail.com', verify=False)
   |                                   ^^^^^^^^^^^^
37 | httpx.stream('https://gmail.com', verify=True)
38 | httpx.stream('https://gmail.com', verify=False)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:38:35
   |
36 | httpx.delete('https://gmail.com', verify=False)
37 | httpx.stream('https://gmail.com', verify=True)
38 | httpx.stream('https://gmail.com', verify=False)
   |                                   ^^^^^^^^^^^^
39 | httpx.Client()
40 | httpx.Client(verify=False)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:40:14
   |
38 | httpx.stream('https://gmail.com', verify=False)
39 | httpx.Client()
40 | httpx.Client(verify=False)
   |              ^^^^^^^^^^^^
41 | httpx.AsyncClient()
42 | httpx.AsyncClient(verify=False)
   |

S501 Probable use of `httpx` call with `verify=False` disabling SSL certificate checks
  --> S501.py:42:19
   |
40 | httpx.Client(verify=False)
41 | httpx.AsyncClient()
42 | httpx.AsyncClient(verify=False)
   |                   ^^^^^^^^^^^^
   |
