Do we have anything like encode_response from 
Plack::Middleware::TemplateToolkit to allow me to have utf-8 encoded 
source files?

Otherwise I am /guessing/ from the docs that I could make my own 
Mason::Result which does the encode in the output() method? Did anybody 
already do this?

Allan

On 01/11/12 11:07, Jonathan Swartz wrote:
> :) That's Plack::Middleware::Debug. You can remove it by commenting out the 
> appropriate line in bin/app.psgi.
>
>      # Add Plack middleware here
>      #
>      if ( $conf->is_development ) {
>          enable "Plack::Middleware::StackTrace";
>          enable "Plack::Middleware::Debug";     <===
>      }
>
>
> On Nov 1, 2012, at 3:26 AM, Allan Engelhardt wrote:
>
>> This has got to be a FAQ but I can't find it anywhere in the
>> documentation. After creating a new project with Poet (e.g. the example
>> blog project) the default pages generated have tons of cruft added to
>> them, apparently to support the black debug bar at the right.
>>
>> 1. Where is this added?
>> 2. How do I get rid of it? Permanently. Forever. All of the several
>> hundred lines.
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_sfd2d_oct
>> _______________________________________________
>> Mason-users mailing list
>> Mason-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mason-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to