> Traceback (most recent call last):


 "/Users/travis/build/mitmproxy/mitmproxy/libmproxy/proxy/server.py", line 120, in handle


 "/Users/travis/build/mitmproxy/mitmproxy/libmproxy/proxy/modes/http_proxy.py", line 10, in __call__


 "/Users/travis/build/mitmproxy/mitmproxy/libmproxy/protocol/tls.py", line 267, in __call__


 "/Users/travis/build/mitmproxy/mitmproxy/libmproxy/protocol/tls.py", line 392, in _establish_tls_with_client_and_server


 "/Users/travis/build/mitmproxy/mitmproxy/libmproxy/protocol/tls.py", line 389, in _establish_tls_with_client_and_server


 "/Users/travis/build/mitmproxy/mitmproxy/libmproxy/protocol/tls.py", line 398, in _establish_tls_with_client


 "/Users/travis/build/mitmproxy/mitmproxy/libmproxy/protocol/tls.py", line 497, in _find_cert
AttributeError: 'NoneType' object has no attribute 'host'

Traceback (most recent call last):


 ".../vcr_bug.py", line 23, in <module>

make_post(data=None)


 ".../vcr_bug.py", line 14, in make_post

response = requests.post('https://httpbin.org/post', data=data, headers={'Accept': 'application/json'})


 ".../lib/python3.6/site-packages/requests/api.py", line 112, in post

return request('post', url, data=data, json=json, **kwargs)


 ".../lib/python3.6/site-packages/requests/api.py", line 58, in request

return session.request(method=method, url=url, **kwargs)


 ".../lib/python3.6/site-packages/requests/sessions.py", line 508, in request

resp = self.send(prep, **send_kwargs)


 ".../lib/python3.6/site-packages/requests/sessions.py", line 618, in send

r = adapter.send(request, **kwargs)


 ".../lib/python3.6/site-packages/requests/adapters.py", line 440, in send

timeout=timeout


 ".../lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen

chunked=chunked)


 ".../lib/python3.6/site-packages/urllib3/connectionpool.py", line 380, in _make_request

httplib_response = conn.getresponse(buffering=True)


 ".../lib/python3.6/site-packages/vcr/stubs/__init__.py", line 215, in getresponse

if self.cassette.can_play_response_for(self._vcr_request):


 ".../lib/python3.6/site-packages/vcr/cassette.py", line 245, in can_play_response_for

request = self._before_record_request(request)


 ".../lib/python3.6/site-packages/vcr/config.py", line 253, in before_record_request

request = function(request)


 ".../lib/python3.6/site-packages/vcr/filters.py", line 100, in replace_post_data_parameters

splits = [p.partition(b'=') for p in request.body.split(b'&')]
AttributeError: 'NoneType' object has no attribute 'split'
