×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
1
 
0
Language: Python
Posted by: Pedro Batista
Added: Oct 26, 2021 4:18 PM
Views: 2197
  1. from functools import partial, partialmethod
  2.  
  3. requests.request = partial(requests.request, verify=False)
  4. requests.Session.request = partialmethod(
  5.     requests.Session.request, verify=False
  6. )