def _codeStatusSplit(line):
 parts = line.split(' ', 1)
 if (len(parts) == 1):
  return (parts[0], '')
 return parts

def _codeStatusSplit ( line ) : parts = line . split ( ' ' , 1 ) if ( len ( parts ) == 1 ) : return ( parts [ 0 ] , '' ) return parts
parse the first line of a multi-line server response .