def strip_headers(headers):
 for name in list(headers.keys()):
  if name.startswith(':'):
   del headers[name]

def strip_headers ( headers ) : for name in list ( headers . keys ( ) ) : if name . startswith ( ':' ) : del headers [ name ]
strips the headers attached to the instance of any header beginning with a colon that hyper doesnt understand .