def get_header(name, raiseError=True):
 retval = _headers.get(str(name).strip().lower().replace('_', '-'))
 if ((not retval) and raiseError):
  raise AssertionError(("'%s' is an unknown header" % name))
 return retval

def get_header ( name , raiseError = True ) : retval = _headers . get ( str ( name ) . strip ( ) . lower ( ) . replace ( '_' , '-' ) ) if ( ( not retval ) and raiseError ) : raise AssertionError ( ( "'%s' is an unknown header" % name ) ) return retval
find the given httpheader instance this function finds the corresponding httpheader for the name provided .