mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 02:12:54 +00:00
Console: Change sendError() to setStatus() for 3xx responses
to avoid unnecessary output
This commit is contained in:
1 parent
86b3b13d6f
commit
33ea4cf571
5 files changed
+8
-5
No files matched your search
+2
-1
@@ -63,7 +63,8 @@ public class CodedIconRendererServlet extends HttpServlet {
|
||||
I2PAppContext.getGlobalContext().logManager().getLog(getClass()).warn("Error writing binary image data for plugin", e);
|
||||
}
|
||||
} else {
|
||||
srs.sendError(304, "Not Modified");
|
||||
srs.setStatus(304);
|
||||
srs.flushBuffer();
|
||||
}
|
||||
} else {
|
||||
//Binary data is not present but must be substituted by file on disk
|
||||
|
||||
Reference in new issue
Block a user