Permalink
Browse files

enable HEAD

  • Loading branch information...
1 parent e002ec7 commit 8ebf48a4d52d3d94039eabad0e84184f0f209588 @miyagawa committed Apr 4, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 app-gw.psgi
View
@@ -0,0 +1,11 @@
+use Plack::Builder;
+
+my $app = do "./app.psgi";
+
+builder {
+ enable "Head";
+ mount 'http://sunaba.plackperl.org/' => sub {
+ return [ 404, ['Content-Type', 'text/plain'], ['Not Found'] ];
+ };
+ mount '/' => $app;
+};

0 comments on commit 8ebf48a

Please sign in to comment.