About 21,600,000 results
Open links in new tab
  1. How do I disable the security certificate check in Python's Requests?

    218 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 …

  2. Correct way to make a Python HTTPS request using requests …

    Some things to try: use curl to construct a request by hand, to make sure that you know what the contents of a valid request should be. If that works, then you know that there is a problem with …

  3. ImportError: No module named requests - Stack Overflow

    Tried 'sudo pip3 install requests' and it seeed to download, but then when running the file with requests in it, got the typical "ImportError: No module named requests".

  4. 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.

  5. Correct way to try/except using Python requests module?

    All exceptions that Requests explicitly raises inherit from requests.exceptions.RequestException. To answer your question, what you show will not cover all of your bases. You'll only catch …

  6. Proxies with Python 'Requests' module - Stack Overflow

    Just a short, simple one about the excellent Requests module for Python. I can't seem to find in the documentation what the variable 'proxies' should contain. When I send it a dict with a …

  7. Can I set max_retries for requests.request? - Stack Overflow

    Mar 15, 2013 · The requests library doesn't really make this configurable, nor does it intend to (see this pull request). Currently (requests 1.1), the retries count is set to 0.

  8. How do I read a response from Python Requests? - Stack Overflow

    I have two Python scripts. One uses the Urllib2 library and one uses the Requests library. I have found Requests easier to implement, but I can't find an equivalent for urlib2's read() function. For

  9. python - How could I use requests in asyncio? - Stack Overflow

    Mar 5, 2014 · I want to do parallel http request tasks in asyncio, but I find that python-requests would block the event loop of asyncio. I've found aiohttp but it couldn't provide the service of …

  10. 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! …