The problem was with the url. This connection was meant to be established over https and I was using http in the python script. Hence the issue.
More Related Contents:
- How do you send a HEAD HTTP request in Python 2?
- How to encode UTF8 filename for HTTP headers? (Python, Django)
- Python send POST with header
- How to get http headers in flask?
- What is the fastest way to send 100,000 HTTP requests in Python?
- Python requests – print entire http request (raw)?
- Python Requests library redirect new url
- Using an HTTP PROXY – Python [duplicate]
- How to specify an authenticated proxy for a python http connection?
- Python-Requests close http connection
- How do I set headers using python’s urllib?
- Multithreaded web server in python
- Best way to parse a URL query string
- Simple URL GET/POST function in Python
- Only download a part of the document using python requests
- Python urllib2.urlopen() is slow, need a better way to read several urls
- How to get response SSL certificate from requests in python?
- How to stop BaseHTTPServer.serve_forever() in a BaseHTTPRequestHandler subclass?
- Read timeout using either urllib2 or any other http library
- Flask – POST Error 405 Method Not Allowed
- Unescape Python Strings From HTTP
- How do I catch a specific HTTP error in Python?
- How to send zip files in the python Flask framework?
- Checking if a website is up via Python
- How to get the raw content of a response in requests with Python?
- Ideal method for sending multiple HTTP requests over Python? [duplicate]
- Is it possible to run python SimpleHTTPServer on localhost only?
- How to limit download rate of HTTP requests in requests python library?
- Is there a library for retrieving a file from a remote zip? [closed]
- Python seek on remote file using HTTP