def _makeAccept(key):
 return sha1(('%s%s' % (key, _WS_GUID))).digest().encode('base64').strip()

def _makeAccept ( key ) : return sha1 ( ( '%s%s' % ( key , _WS_GUID ) ) ) . digest ( ) . encode ( 'base64' ) . strip ( )
create an b{accept} response for a given key .