[Jifty-commit] jifty branch, master, updated. 02e2acff10a9d21a9c11ada8b9cadd2cd415a366
Jifty commits
jifty-commit at lists.jifty.org
Thu Apr 29 01:14:45 EDT 2010
The branch, master has been updated
via 02e2acff10a9d21a9c11ada8b9cadd2cd415a366 (commit)
from e5d739bb0a23a4d2f8221762b186f0e597582963 (commit)
Summary of changes:
lib/Jifty/Plugin/REST/Dispatcher.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 02e2acff10a9d21a9c11ada8b9cadd2cd415a366
Author: Chia-liang Kao <clkao at clkao.org>
Date: Thu Apr 29 13:10:46 2010 +0800
Output the buffer through out_method so utf8 flag gets set properly.
diff --git a/lib/Jifty/Plugin/REST/Dispatcher.pm b/lib/Jifty/Plugin/REST/Dispatcher.pm
index 95f855d..a2c078f 100644
--- a/lib/Jifty/Plugin/REST/Dispatcher.pm
+++ b/lib/Jifty/Plugin/REST/Dispatcher.pm
@@ -291,9 +291,9 @@ sub outs {
my $prefix = shift;
my $format = output_format($prefix);
warn "==> using $format->{format}" if $main::DEBUG;
- Jifty->web->response->content_type($format->{content_type});
- Jifty->web->response->body($format->{freezer}->(@_));
+ Jifty->web->response->content_type($format->{content_type});
+ Jifty->handler->buffer->out_method->($format->{freezer}->(@_));
last_rule;
}
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list