def _get_binding_info(hostheader='', ipaddress='*', port=80):
 ret = '{0}:{1}:{2}'.format(ipaddress, port, hostheader.replace(' ', ''))
 return ret

def _get_binding_info ( hostheader = '' , ipaddress = '*' , port = 80 ) : ret = '{0}:{1}:{2}' . format ( ipaddress , port , hostheader . replace ( ' ' , '' ) ) return ret
combine the host header .