[Catalyst-commits] r13381 - in
Catalyst-Plugin-Unicode-Encoding/trunk: .
lib/Catalyst/Plugin/Unicode
hobbs at dev.catalyst.perl.org
hobbs at dev.catalyst.perl.org
Sun Jul 4 09:42:17 GMT 2010
Author: hobbs
Date: 2010-07-04 10:42:17 +0100 (Sun, 04 Jul 2010)
New Revision: 13381
Modified:
Catalyst-Plugin-Unicode-Encoding/trunk/Changes
Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm
Log:
Do encoding late enough to catch finalize_errors output
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/Changes
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/Changes 2010-07-03 00:04:07 UTC (rev 13380)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/Changes 2010-07-04 09:42:17 UTC (rev 13381)
@@ -2,6 +2,9 @@
- Skip Mech tests unless TWMC is a high enough version. (RT#55302)
- Move Pod tests to only run for module authors
+ - Do encoding slightly later so that we can catch the output of
+ finalize_error. Encoding now happens before finalize_headers rather
+ than before finalize.
1.0 2010-05-04 21:46:00
- Fix version number to be higher.
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm 2010-07-03 00:04:07 UTC (rev 13380)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm 2010-07-04 09:42:17 UTC (rev 13381)
@@ -35,7 +35,7 @@
return $encoding;
}
-sub finalize {
+sub finalize_headers {
my $c = shift;
my $body = $c->response->body;
@@ -165,7 +165,7 @@
=over
-=item finalize
+=item finalize_headers
Encodes body into encoding.
More information about the Catalyst-commits
mailing list