title: Python requests error version 2.4.1
body: <p>I'm having an error with python requests module. This is my code.</p>
  
  <pre><code>#!/usr/bin/env python3
  import requests
  
  url = 'http://www.mingeford365.co.uk/forum/ucp.php?mode=login'
  
  logininfo = {'username': '',
               'password': ''}
  
  headers = {'Host': 'www.mingeford365.co.uk',
             'User-Agent' : 'Mozilla/5.0 (x11; Ubuntu; Linux x86; rv:28.0) Gecko/20100101 Firefox/28.0', 
             'Accept': 'text/html, application/xhtml+xhtml,application/xml;q=0.9,*/*;q=0.8',
             'Accept-Language': 'en-gb,en;q=0.5', 
             'Accept-Encoding':  'gzip, deflate',                                   
             'referer': 'http://www.mingeford365.co.uk/forum/viewforum.php?f=4',
             'Cookie' : '',
             'Connection' : 'keep-alive',
             'Content-Type': 'application/x-www-form-urlencoded'}
  
  r = requests.session()
  r.post(url,params=logininfo,headers=headers)
  
  print (r.text)
  </code></pre>
  
  <p>I keep getting the error. </p>
  
  <pre><code>Traceback (most recent call last):
    File "./BasicLogin.py", line 22, in &lt;module&gt;
      print (r.text)
  AttributeError: 'Session' object has no attribute 'text'
  </code></pre>
  
  <p>I found a similar question on here before. <a href="https://stackoverflow.com/questions/22689334/attributeerror-response-object-has-no-attribute-text">AttributeError: &#39;Response&#39; object has no attribute &#39;text&#39;</a></p>
  
  <p>However, the solution was to have the most recent version of requests installed. I already have the most recent version installed, ive reinstalled pip and pip3 and redownloaded requests for both, have then tried the upgrade and it tells me i have the up to date version. </p>
  
  <p>However I still get the same error message. I've tried the code in python 3 and python 2.7 and I still get the same error, I've tried <code>r.status_code</code>, <code>r.text</code> and <code>r.content</code> and still get the sessions has no attribute error. </p>
  
  <p>I don't know what else to do. </p>