in invoker/core/src/main/java/com/google/cloud/functions/invoker/runner/Invoker.java [486:497]
public void handle(
String target,
Request baseRequest,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
if (NOT_FOUND_PATHS.contains(request.getRequestURI())) {
response.sendError(HttpStatus.NOT_FOUND_404, "Not Found");
return;
}
super.handle(target, baseRequest, request, response);
}