Hi All,<br><br>I am encountering http.client.BadStatusLine exception when I run my python scripts on CentOS6.32 but things seem to work fine on MAC OSX10.7.5 and 10.8. I'm on Python3.2.3.<br><br>I searched for answers on the internet  and looked at the python documentation as well without much luck. As per the documentation  if a server responds with a HTTP status code that we don’t understand this error is raised. The server is a Tomcat server. Any ideas on how to debug this will be greatly appreciated. <br>
<br>Here's a snippet of the error:<br>response = conn.getresponse()<br>  python3.2/http/client.py", line 1049, in getresponse<br>    response.begin()<br>  python3.2/http/client.py", line 346, in begin<br>    version, status, reason = self._read_status()<br>
  python3.2/http/client.py", line 328, in _read_status<br>    raise BadStatusLine(line)<br>http.client.BadStatusLine:<br><br>Thanks a lot for all your help.<br>Shubhra<br><br>