def _ignore_response_headers_rewriter(ignored_response_headers, state):
  for name, value in state.headers.items():
    if name.lower() in ignored_response_headers:
      del state.headers[name]
    # Delete a header if its name or value contains non-allowed characters.
    try:
      if isinstance(name, unicode):
        name = name.encode('ascii')
      if isinstance(value, unicode):
        value = value.encode('ascii')
    except UnicodeEncodeError:
      # Contains non-ASCII Unicode characters.
      del state.headers[name]
    if (set(name) - ALLOWED_HEADER_NAME_CHARACTERS or
        set(value) - ALLOWED_HEADER_VALUE_CHARACTERS):
      del state.headers[name]
Get those disks which are smaller than 2T
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/request_rewriter.py/_ignore_response_headers_rewriter--crossover with--dataset/ETHPy150Open openstack/bareon/bareon/drivers/data/generic.py/GenericDataDriver._small_ks_disks