Skip to content

Commit

Permalink
Issue jetty#9403 sendError(404) not setError(404) for DefaultServlet (j…
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel authored Feb 22, 2023
1 parent 3f24cc4 commit 4e97a59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se
}

// no content
resp.setStatus(404);
resp.sendError(404);
}
else
{
Expand Down

0 comments on commit 4e97a59

Please sign in to comment.