Console: Change all 302s to 303 or 307

Eepget: Handle 308
This commit is contained in:
zzz
2018-02-20 16:53:31 +00:00
parent b77524cfc7
commit 86b3b13d6f
9 changed files with 9 additions and 8 deletions

View File

@ -1368,7 +1368,7 @@ public class I2PSnarkServlet extends BasicServlet {
if (p.length() > 0)
buf.append(p.replace("&", "&")); // no you don't html escape the redirect header
resp.setHeader("Location", buf.toString());
resp.sendError(302, "Moved");
resp.sendError(303, "Received");
}
/** @since 0.9 */