code: def normalize_request(request):
      
      if isinstance(request, Request):
          return request
  
      for normalizer in REQUEST_NORMALIZERS:
          try:
              return normalizer(request)
          except TypeError:
              continue
  
      raise ValueError("Unable to normalize the provided request")
docs: Given a request, normalize it to the internal Request class.