code: def get_non_preflight_request_config(self, request: web.Request):
          
  
          assert self.is_cors_enabled_on_request(request)
  
          resource = self._request_resource(request)
          resource_config = self._resource_config[resource]
          # Take Route config (if any) with defaults from Resource CORS
          # configuration and global defaults.
          route = request.match_info.route
          if _is_web_view(route, strict=False):
              method_config = request.match_info.handler.get_request_config(
                  request, request.method)
          else:
              method_config = resource_config.method_config.get(request.method,
                                                                {})
          defaulted_config = collections.ChainMap(
              method_config,
              resource_config.default_config,
              self._default_config)
  
          return defaulted_config
docs: Get stored CORS configuration for routing entity that handles
          specified request.