Ignore:
Timestamp:
Feb 20, 2018 7:45:49 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f00bf7d
Parents:
86b3b13
Message:

Console: Change sendError() to setStatus() for 3xx responses
to avoid unnecessary output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/viewtheme.jsp

    r86b3b13 r33ea4cf  
    5353    // iflast is -1 if not present; round down file time
    5454    if (iflast >= ((lastmod / 1000) * 1000)) {
    55         response.sendError(304, "Not Modified");
     55        response.setStatus(304);
    5656        return;
    5757    }
Note: See TracChangeset for help on using the changeset viewer.