--- trunk/lib/Frey/Server.pm 2008/11/26 19:13:53 542 +++ trunk/lib/Frey/Server.pm 2008/11/27 22:11:13 570 @@ -62,6 +62,8 @@ sub main { my ($req) = @_; +# $req->send_headers("X-Frey-VERSION: $Frey::VERSION"); + my $path = $req->request->url->path; eval { @@ -150,6 +152,7 @@ warn "# run $path -> $class $2"; $run->{format} = $3 if $3; $params{request_url} = $req->request->url; + $req->send_headers( "X-Frey: run $class" ); # send something to browser so we don't time-out $f = Frey::Run->new( class => $class, params => \%params, run => $2, %$run ); } elsif ( $path =~ m{/([^/]+)/?$}