Fix a bug that would result in a 301 redirect with python 2.5 or older using secure...
authorJoshua Roesslein <jroesslein@gmail.com>
Sun, 31 Jan 2010 03:31:20 +0000 (21:31 -0600)
committerJoshua Roesslein <jroesslein@gmail.com>
Sun, 31 Jan 2010 03:31:20 +0000 (21:31 -0600)
commit45d5a4ac44aac2b0023239bcc5c1100ab4a6fcb1
tree1ffc9cdaa6be68e03d1c3b810af7171ddfb4cc07
parentedcae69800549c20c0bf67a78c7d77b9c719f88b
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
tweepy/binder.py