{"action":"created","issue":{"url":"https://api.github.com/repos/jakubroztocil/httpie/issues/315","labels_url":"https://api.github.com/repos/jakubroztocil/httpie/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/jakubroztocil/httpie/issues/315/comments","events_url":"https://api.github.com/repos/jakubroztocil/httpie/issues/315/events","html_url":"https://github.com/jakubroztocil/httpie/issues/315","id":59336150,"number":315,"title":"requests.exceptions.SSLError: [Errno 8] _ssl.c:507: EOF occurred in violation of protocol","user":{"login":"kajisaap","id":722803,"avatar_url":"https://avatars.githubusercontent.com/u/722803?v=3","gravatar_id":"","url":"https://api.github.com/users/kajisaap","html_url":"https://github.com/kajisaap","followers_url":"https://api.github.com/users/kajisaap/followers","following_url":"https://api.github.com/users/kajisaap/following{/other_user}","gists_url":"https://api.github.com/users/kajisaap/gists{/gist_id}","starred_url":"https://api.github.com/users/kajisaap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kajisaap/subscriptions","organizations_url":"https://api.github.com/users/kajisaap/orgs","repos_url":"https://api.github.com/users/kajisaap/repos","events_url":"https://api.github.com/users/kajisaap/events{/privacy}","received_events_url":"https://api.github.com/users/kajisaap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-28T10:15:50Z","updated_at":"2015-02-28T13:17:40Z","closed_at":null,"body":"```bash\r\nHTTPie 1.0.0-dev\r\nHTTPie data: /Users/kaji/.httpie\r\nRequests 2.5.3\r\nPygments 2.0.2\r\nPython 2.7.6 (default, Sep  9 2014, 15:04:36)\r\n[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] darwin\r\nNot every SSL website shows though. So, it is tricky. From browser , it is working fine.\r\n\r\n>>> requests.request({'allow_redirects': False,\r\n 'auth': None,\r\n 'cert': None,\r\n 'data': OrderedDict(),\r\n 'files': DataDict(),\r\n 'headers': {'User-Agent': 'HTTPie/1.0.0-dev'},\r\n 'method': 'get',\r\n 'params': ParamsDict(),\r\n 'proxies': {},\r\n 'stream': True,\r\n 'timeout': 30,\r\n 'url': u'https://apissl.example.com',\r\n 'verify': True})\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/http\", line 9, in <module>\r\n    load_entry_point('httpie==1.0.0-dev', 'console_scripts', 'http')()\r\n  File \"/Library/Python/2.7/site-packages/httpie/core.py\", line 112, in main\r\n    response = get_response(args, config_dir=env.config.directory)\r\n  File \"/Library/Python/2.7/site-packages/httpie/client.py\", line 41, in get_response\r\n    response = requests_session.request(**kwargs)\r\n  File \"/Library/Python/2.7/site-packages/requests/sessions.py\", line 461, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/Library/Python/2.7/site-packages/requests/sessions.py\", line 573, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/Library/Python/2.7/site-packages/requests/adapters.py\", line 431, in send\r\n    raise SSLError(e, request=request)\r\nrequests.exceptions.SSLError: [Errno 8] _ssl.c:507: EOF occurred in violation of protocol\r\n```"},"comment":{"url":"https://api.github.com/repos/jakubroztocil/httpie/issues/comments/76525734","html_url":"https://github.com/jakubroztocil/httpie/issues/315#issuecomment-76525734","issue_url":"https://api.github.com/repos/jakubroztocil/httpie/issues/315","id":76525734,"user":{"login":"kajisaap","id":722803,"avatar_url":"https://avatars.githubusercontent.com/u/722803?v=3","gravatar_id":"","url":"https://api.github.com/users/kajisaap","html_url":"https://github.com/kajisaap","followers_url":"https://api.github.com/users/kajisaap/followers","following_url":"https://api.github.com/users/kajisaap/following{/other_user}","gists_url":"https://api.github.com/users/kajisaap/gists{/gist_id}","starred_url":"https://api.github.com/users/kajisaap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kajisaap/subscriptions","organizations_url":"https://api.github.com/users/kajisaap/orgs","repos_url":"https://api.github.com/users/kajisaap/repos","events_url":"https://api.github.com/users/kajisaap/events{/privacy}","received_events_url":"https://api.github.com/users/kajisaap/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T13:17:40Z","updated_at":"2015-02-28T13:17:40Z","body":"@jakubroztocil , assuming the similarity here https://github.com/kennethreitz/requests/issues/2056 "}}