Fix a bug that would result in a 301 redirect with python 2.5 or older using secure HTTPS.
These versions of python include the port number in the host header. Twitter will send us a 301 when a host is provided in this manner. To avoid this redirect this patch manually sets the host w/o the port number. Fixes issue #12
Please register or sign in to comment