About 6,680,000 results
Open links in new tab
  1. How do I disable the security certificate check in Python requests

    Use requests.packages.urllib3.disable_warnings() and verify=False on requests methods. Note that you can either import urllib3 directly or import it from requests.packages.urllib3 to be sure …

  2. How to upload file with python requests? - Stack Overflow

    If you want to upload a single file with Python requests library, then requests lib supports streaming uploads, which allow you to send large files or streams without reading into memory.

  3. How to get Python requests to trust a self signed SSL certificate?

    r = requests.post(url, data=data, verify=False) However, what I would like to do is point requests to a copy of the public key on disk and tell it to trust that certificate.

  4. How do I use basic HTTP authentication with the Python Requests …

    Nov 5, 2014 · I'm trying to use basic HTTP authentication in Python. I am using the Requests library:

  5. How to fix "403 Forbidden" errors when calling APIs using Python …

    How to fix "403 Forbidden" errors when calling APIs using Python requests? Asked 9 years, 3 months ago Modified 9 months ago Viewed 291k times

  6. Download and save PDF file with Python requests module

    Dec 29, 2015 · 56 In Python 3, I find pathlib is the easiest way to do this. Request's response.content marries up nicely with pathlib's write_bytes.

  7. python - ImportError: No module named requests - Stack Overflow

    Python 3: sudo pip3 install requests if you have pip installed (pip is the package installer for python and should come by default with your python installation).

  8. How can I see the entire HTTP request that's being sent by my …

    May 15, 2012 · Note that httplib isn't available on Python 3. To make the code portable, replace import httplib with import requests.packages.urllib3.connectionpool as httplib or use six and …

  9. ssl - Python Requests throwing SSLError - Stack Overflow

    Nov 5, 2015 · I'm working on a simple script that involves CAS, jspring security check, redirection, etc. I would like to use Kenneth Reitz's python requests because it's a great piece of work! …

  10. How can I mock requests and the response? - Stack Overflow

    I am trying to use Pythons mock package to mock Pythons requests module. What are the basic calls to get me working in below scenario? In my views.py, I have a function that makes variety …