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


# A list of functions that take an environ and possibly modify it. The functions
# are applied to the request in order.
Acquires the next cursor id in a thread safe manner.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/request_rewriter.py/_ignore_request_headers_rewriter--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/datastore/appscale_stub_util.py/BaseCursor._AcquireCursorID