Skip to content Skip to sidebar Skip to footer

Python Requests Equivalent Of '--proxy-header' In Curl With Ssl Certification

Reference: How does one specify the equivalent of `--proxy-headers` curl argument into requests? I am a newbie vis-a-vis Python. I have a requirement, where a request to a destinat

Solution 1:

THIS IS NOT A SOLUTION:

When i usually encounter certificate/verification errors, i just force it to not verify the certificate using the code below:

conda config --set ssl_verify false

Note that this is not usually recommended and i usually do it temporarily until i finish either running spicific script or downloading a library or so. If you want to try this and if it works for you, remember to turn it back on once done using the code below:

conda config --set ssl_verify true

Post a Comment for "Python Requests Equivalent Of '--proxy-header' In Curl With Ssl Certification"