Hi Everybody,
is it possible for a controller method to directly produce the raw HTTP
response?
My application generates a (potentially large)) ZIP file on the fly,
which I don't want to store (on disk or in memory) but rather send it
directly to the client while producing it.
In a CGI script I
* Tomas Doran [EMAIL PROTECTED] [080925 23:06]:
Hi Tomas,
thanks for the prompt reply (also to all others).
Looking at the source code for Catalyst::write, and
Catalyst::Engine::write, you need to say $c-finalize_headers, after
which just writing to STDOUT as above should do the right
* Dermot [EMAIL PROTECTED] [081002 16:05]:
Hi Dermot,
FastCGI: comm with server /var/www/MyApp/script/myapp_fastcgi.pl
aborted: idle timeout (30 sec)
FastCGI: incomplete headers (0 bytes) received from server
/var/www/MyApp/script/myapp_fastcgi.pl
if you consult the mod_fastcgi docs you
Hi Everybody,
I would like to have multiple (20-50) instances of a Catalyst
application running using FastCGI. Since this would result in quite a
few preforked processes, I wondered if it is possible to just use one
set of FastCGI processes and have different config files for different
domain
* Jonathan Rockway [EMAIL PROTECTED] [081121 20:30]:
Hi Jonathan,
I assume this is some kind of strange safety feature?
Nope, something must be wonky in your app. I tested it, and .cgi paths
work fine. (You might want to try the myapp_test.pl script in the
debugger.)
you are totally
* loki l...@sub5.org [090206 12:38]:
Hi Loki,
$c-model('DB::Foo')-create({
title = 'foo',
description = 'bar',
dt = 'NOW()',
you can give a scalar reference here:
dt = \'now()'
});
Hi Everybody,
currently have a strange problem with a Catalyst app, which I developed
on Gentoo Linux and now try to deploy on Debian/Lenny. On Debian, the
browser (Firefox) waits a couple of seconds (~10s) after it has already
received all content (as shown by Firebug), apparently still waiting
* Andrew Rodland arodl...@comcast.net [090321 22:29]:
Hi Andrew,
Are you running mod_deflate as well?
not that I was aware of. However since disabling this line
# AddOutputFilterByType DEFLATE text/html text/plain text/xml
fixed the problem, you were apparently 100% right. Thanks a
* Devin Austin devin.aus...@gmail.com [090625 08:25]:
Hi Devin,
I wonder how you handle user-specific timezones in Catalyst.
Is there any magic switch I could set (for instance if the user is
authorized or the session restored) to automatically get the right time
for the user?
I would
* Ian Wells i...@cack.org.uk [090625 12:52]:
Hi Everybody,
first of all, thanks for all your input.
I would make use of user's timezone as part of the view/controller
layers, and use a fixed timezone (say UTC) for the DB layers.
OK, as said before, I already had the feeling that it does not
* Bill Moseley mose...@hank.org [090701 19:58]:
Hi Ton,
On Wed, Jul 1, 2009 at 10:22 AM, Ton Voon ton.v...@opsera.com wrote:
I am localising our app, which consists of strings in html and in dynamic
javascript snippets. However, if the translated value contains quotations
(such as: s'il
:
Is utf8: 1 1
T=Ümläuts
What am I doing wrong here? Or do I misunderstand what this code should
do? Any hints are highly appreciated. Thanks.
Christian
--
Dr. Christian Lackas, Managing Partner
inviCRO, LLC -- In Imaging Yours
P: +1 617 963 0263, F: +49 2203 9034722, E: lac...@invicro.com
http
* Christian Lackas christ...@lackas.net [140131 06:33]:
Hi Everybody,
sorry, has to be
$t = $encoding-decode($t);
below, of course (and then it works in the test).
That said, in my application I have:
my $file = $c-request-param('file');
warn is_utf8: , utf8::is_utf8($file), \n
).
What I tried to simulate is: I have some text in a variable, and I know
its UTF-8, however, Perl does not, yet, thus I have to decode it.
Please also note the small error I made with not taking the return value
of '$encoding-decode()'.
Christian
--
Dr. Christian Lackas, Managing Partner
14 matches
Mail list logo