title: TypeError: getresponse() got an unexpected keyword argument 'buffering'
body: <p>Cannot Upload from a Windows 7 32 bit OS. It works fine on Windows 7 64 bit OS with 32/64 bit Python. I am using Python 3.4.3 with latest requests API.</p>
  
  <p>The error I get is:</p>
  
  <pre><code>Traceback (most recent call last): File
  "C:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 376, in _make_request
  httplib_response = conn.getresponse(buffering=True)
  TypeError: getresponse() got an unexpected keyword argument 'buffering'
  </code></pre>
  
  <p>During handling of the above exception, another exception occurred:</p>
  
  <pre><code>Traceback (most recent call last): File
  "C:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 559, in urlopen
  body=body, headers=headers) File "C:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 378, in _make_request
  httplib_response = conn.getresponse() File "C:\Python34\lib\http\client.py", line 1171, in getresponse
  response.begin() File "C:\Python34\lib\http\client.py", line 351, in begin
  version, status, reason = self._read_status() File "C:\Python34\lib\http\client.py", line 313, in _read_status
  line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "C:\Python34\lib\socket.py", line 374, in readinto
  return self._sock.recv_into(b)
  ConnectionResetError: WinError 10054] An existing connection was forcibly close d by the remote host
  </code></pre>
  
  <p>During handling of the above exception, another exception occurred:</p>
  
  <pre><code>Traceback (most recent call last): File "C:\Python34\lib\site-packages\requests\adapters.py", line 370, in send
  timeout=timeout File "C:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 609, in urlopen
  _stacktrace=sys.exc_info()[2]) File "C:\Python34\lib\site-packages\requests\packages\urllib3\util\retry.py", line 245, in increment
  raise six.reraise(type(error), error, _stacktrace) File "C:\Python34\lib\site-packages\requests\packages\urllib3\packages\six.py", line 309, in reraise
  raise value.with_traceback(tb) File "C:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 559, in urlopen
  body=body, headers=headers) File "C:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 378, in _make_request
  httplib_response = conn.getresponse() File "C:\Python34\lib\http\client.py", line 1171, in getresponse
  response.begin() File "C:\Python34\lib\http\client.py", line 351, in begin
  version, status, reason = self._read_status() File "C:\Python34\lib\http\client.py", line 313, in _read_status
  line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "C:\Python34\lib\socket.py", line 374, in readinto
  return self._sock.recv_into(b)
  requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
  </code></pre>
  
  <p>During handling of the above exception, another exception occurred:</p>
  
  <pre><code>Traceback (most recent call last): File "Upgrader.py", line 12, in
  rdst = requests.post(urldst, files={'1_19_0_developer.exe': resp.content}) File "C:\Python34\lib\site-packages\requests\api.py", line 109, in post
  return request('post', url, data=data, json=json, *kwargs) File "C:\Python34\lib\site-packages\requests\api.py", line 50, in request
  response = session.request(method=method, url=url, *kwargs) File "C:\Python34\lib\site-packages\requests\sessions.py", line 468, in request
  resp = self.send(prep, *send_kwargs) File "C:\Python34\lib\site-packages\requests\sessions.py", line 576, in send
  r = adapter.send(request, *kwargs) File "C:\Python34\lib\site-packages\requests\adapters.py", line 412, in send
  raise ConnectionError(err, request=request)
  requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetErro r(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
  </code></pre>
  
  <p>The code is</p>
  
  <pre><code>import requests 
  from requests_file import FileAdapter
  
  s = requests.Session() 
  s.mount('file://', FileAdapter()) 
  resp = s.get('file:///local_package_name') 
  urldst = 'Upload URL' 
  rdst = requests.post(urldst, files={'filename': resp.content}) 
  print(rdst)
  </code></pre>
  
  <p>This code works fine on a Windows7 64 bit OS, but returns the error as described in Windows7 32 bit OS.</p>
  
  <p>Also, I can upload small packages using the provided code on a 32 bit Windows 7 OS. The only problem is with uploading large packages.</p>