From: Tomas Doran Date: Tue, 25 Oct 2011 00:57:14 +0000 (-0700) Subject: Default to sending X-Catalyst header X-Git-Tag: 1.36~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Devel.git;a=commitdiff_plain;h=51b186e7616441b554dc5cb5080a6256ddc7021f Default to sending X-Catalyst header --- diff --git a/Changes b/Changes index 09c9b06..c78f9ff 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ This file documents the revision history for Perl extension Catalyst-Devel. + - New apps send an X-Catalyst header by default (this can be + disabled by changing the config in the generated app) - Fix leaking temporary files in tests. RT#59166 - Fix generated Makefile.PL to always contain unix style paths, even on Win32. RT#65456 diff --git a/share/lib/MyApp.pm.tt b/share/lib/MyApp.pm.tt index 46ec6d1..c581743 100644 --- a/share/lib/MyApp.pm.tt +++ b/share/lib/MyApp.pm.tt @@ -39,6 +39,7 @@ __PACKAGE__->config( name => '[% name %]', # Disable deprecated behavior needed by old applications disable_component_resolution_regex_fallback => 1, + enable_catalyst_header => 1, # Send X-Catalyst header ); # Start the application