Changeset 3350

Show
Ignore:
Timestamp:
01/11/10 14:00:00 (10 years ago)
Author:
cemeyer
Message:

httpretrieve: port needs to be converted to string.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/trunk/seattlelib/httpretrieve.repy

    r3349 r3350  
    151151    else: 
    152152      if "Host" not in httpheaders: 
    153         httpheader += "Host: " + host + ':' + port + "\r\n" 
     153        httpheader += "Host: " + host + ':' + str(port) + "\r\n" 
    154154      for key, val in httpheaders.items(): 
    155155        httpheader += key + ": " + val + '\r\n'