diff --git a/tweepy/binder.py b/tweepy/binder.py
index <HASH>..<HASH> 100644
--- a/tweepy/binder.py
+++ b/tweepy/binder.py
@@ -57,6 +57,12 @@ def bind_api(**config):
             else:
                 self.host = api.host
 
+            # Manually set Host header to fix an issue in python 2.5
+            # or older where Host is set including the 443 port.
+            # This causes Twitter to issue 301 redirect.
+            # See Issue http://github.com/joshthecoder/tweepy/issues/#issue/12
+            self.headers['Host'] = self.host
+
         def build_parameters(self, args, kargs):
             self.parameters = {}
             for idx, arg in enumerate(args):
Fix a bug that would result in a <I> redirect with python <I> or older using secure HTTPS.

These versions of python include the port number in the host header.
Twitter will send us a <I> 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 #<I>