<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,9 +5,9 @@ author      'Simon Cozens &lt;simon@simon-cozens.org&gt;';
 include     'Module::AutoInstall';
 license     'artistic';
 perl_version '5.006';
-all_from    &quot;lib/Canary.pm&quot;;
+all_from    &quot;canary.pl&quot;;
 requires	&quot;KinoSearch&quot; =&gt; 0;
-requires	&quot;HTTP::Engine&quot; =&gt; 0;
+requires	&quot;Plack::Request&quot; =&gt; 0;
 requires	&quot;Plack&quot; =&gt; 0;
 requires	&quot;Class::DBI&quot; =&gt; 0;
 requires	&quot;Email::Date&quot; =&gt; 0;</diff>
      <filename>Makefile.PL</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,7 @@
 package MicroMaypole;
 use Template;
-use HTTP::Engine;
+use Plack::Request;
+use Plack::Response;
 
 sub app {
     my ($self, %args) = @_;
@@ -13,15 +14,12 @@ sub app {
         COMPILE_EXT =&gt; &quot;.ttc&quot;
     });
 
-    my $engine = HTTP::Engine-&gt;new( interface =&gt; { module =&gt; 'PSGI', 
-        request_handler =&gt; sub {
-            my $req = shift;
-            my $m = $self-&gt;new(%args);
-            $m-&gt;{template_engine} = $t;
-            $m-&gt;handler($req);
-        }
-    });
-    sub { $engine-&gt;run(@_) };
+    sub {
+        my $req = Plack::Request-&gt;new(shift);
+        my $m = $self-&gt;new(%args);
+        $m-&gt;{template_engine} = $t;
+        $m-&gt;handler($req)-&gt;finalize;
+    }
 }
 
 sub new { my $self = shift; return bless {@_} , $self }
@@ -52,7 +50,8 @@ sub handler {
 sub respond {
     my ($self, $template, @args) = @_;
     my $out;
-    my $res = HTTP::Engine::Response-&gt;new();
+    my $res = Plack::Response-&gt;new(200);
+    $res-&gt;content_type(&quot;text/html&quot;);
     $self-&gt;{template_engine}-&gt;process($template, {
         self =&gt; $self,
         @args,</diff>
      <filename>lib/MicroMaypole.pm</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2ca92cb80a8187e3b34c31b8a8e4ae00da70e0f4</id>
    </parent>
  </parents>
  <author>
    <name>Simon Cozens</name>
    <login>simoncozens</login>
    <email>simon@simon-cozens.org</email>
  </author>
  <url>http://github.com/simoncozens/canary/commit/713e809c84fc606cf9baaccad00d97a58ccfbaaa</url>
  <id>713e809c84fc606cf9baaccad00d97a58ccfbaaa</id>
  <committed-date>2009-11-05T09:50:47-08:00</committed-date>
  <authored-date>2009-11-05T09:50:47-08:00</authored-date>
  <message>Ditch HTTP::Engine, go pure-PSGI.</message>
  <tree>2642e13c27d3c05dab60814e5a3cd9af741f92e4</tree>
  <committer>
    <name>Simon Cozens</name>
    <login>simoncozens</login>
    <email>simon@simon-cozens.org</email>
  </committer>
</commit>
