def _ignore_request_headers_rewriter(environ):
 for h in constants.IGNORED_REQUEST_HEADERS:
  h = ('HTTP_' + h.replace('-', '_').upper())
  try:
   del environ[h]
  except KeyError:
   pass

def _ignore_request_headers_rewriter ( environ ) : for h in constants . IGNORED_REQUEST_HEADERS : h = ( 'HTTP_' + h . replace ( '-' , '_' ) . upper ( ) ) try : del environ [ h ] except KeyError : pass
ignore specific request headers .