Comment 3 for bug 508804

Revision history for this message
Martin Schaaf (mascha) wrote :

The response from this server is 'HTTP/1.1 301\r\n'

Here is my fix for it:

Change in http.py line 126
from

version, status, reason = data.split(' ', 2)

to

try:
      version, status, reason = data.split(' ', 2)
except:
      version, status = data.split(' ')
      reason = ''

This fixes the problem for me.