From: Marius Gavrilescu Date: Tue, 20 Jan 2015 12:13:55 +0000 (+0200) Subject: Use 205 Reset Content in /login X-Git-Url: http://git.ieval.ro/?p=plack-app-gruntmaster.git;a=commitdiff_plain;h=b1f7dac7db6da070a540695ff1b572334c65226e Use 205 Reset Content in /login --- diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index 8aab08c..bfddd26 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -151,7 +151,7 @@ sub dispatch_request{ sub (/login) { forbid !remote_user; - [204, ['Set-Cookie' => "username=".remote_user->id], []] + [205, ['Set-Cookie' => "username=".remote_user->id], []] }, sub (/ct/:contest/log/st) { redirect "/st/$_{contest}" },