Re: [Catalyst] Catalyst Redirect to https

2010-03-26 Thread Octavian Rasnita
From: Bill Moseley 2010/3/25 Octavian Rasnita orasn...@gmail.com The back end servers don't know if the current request is an http or an https one and on each redirect, they do the redirection using the http scheme. (I have also set the configuration option

Re: [Catalyst] Catalyst Redirect to https

2010-03-26 Thread Jose Luis Martinez
El 26/03/2010 8:46, Octavian Rasnita escribió: And in a test action I have done: my $body; $body .= HTTPS environment variable: $ENV{HTTPS}br /\n; $body .= HTTPS header: . $c-req-header('HTTPS') . br /\n; $body .= secure: . $c-req-secure . br /\n;; $c-req-secure(1);

[Catalyst] Picking template type based on input

2010-03-26 Thread Jon mailinglists
Hi all, I'm making a small catalyst application and I want to be able to serve different types of content based on parameters and/or request headers. I'm curious about where the correct location for that kind of code is, my current sollution is in the Root end like this: sub end :

Re: [Catalyst] Picking template type based on input

2010-03-26 Thread Tomas Doran
Jon mailinglists wrote: Hi all, I'm making a small catalyst application and I want to be able to serve different types of content based on parameters and/or request headers. I'm curious about where the correct location for that kind of code is, my current sollution is in the Root end like this:

Re: [Catalyst] Catalyst Redirect to https

2010-03-26 Thread Bill Moseley
On Fri, Mar 26, 2010 at 12:46 AM, Octavian Rasnita orasn...@gmail.comwrote: *From:* Bill Moseley mose...@hank.org SetEnv HTTPS On Does that header get to Catalyst? Obviously, check that first. I didn't know that HTTPS should be an HTTP header and not an environment variable so I

Re: [Catalyst] Picking template type based on input

2010-03-26 Thread Bill Moseley
On Fri, Mar 26, 2010 at 5:50 AM, Tomas Doran bobtf...@bobtfish.net wrote: The controller asks the model for some data, and then chooses how to present that data (whilst the view actually handles the presentation details. That means the controllers have to be aware of the view. That is, the

Re: [Catalyst] Picking template type based on input

2010-03-26 Thread John Napiorkowski
From: Bill Moseley mose...@hank.org To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Fri, March 26, 2010 9:15:47 AM Subject: Re: [Catalyst] Picking template type based on input On Fri, Mar 26, 2010 at 5:50 AM, Tomas Doran bobtf...@bobtfish.net wrote: The controller asks

Re: [Catalyst] Picking template type based on input

2010-03-26 Thread Jon mailinglists
On Fri, Mar 26, 2010 at 1:50 PM, Tomas Doran bobtf...@bobtfish.net wrote: Jon mailinglists wrote: Hi all, [snip] How is generating JSON in template toolkit not 100% insane? Please use something like Catalyst::View::JSON instead? To be honest I haven't tried it but seeing you're involved

Re: [Catalyst] Picking template type based on input

2010-03-26 Thread J. Shirley
On Fri, Mar 26, 2010 at 9:31 AM, Jon mailinglists jon.ml...@gmail.com wrote: On Fri, Mar 26, 2010 at 1:50 PM, Tomas Doran bobtf...@bobtfish.net wrote: Jon mailinglists wrote: Hi all, [snip] How is generating JSON in template toolkit not 100% insane? Please use something like

[Catalyst] Google Summer of Code Update(s) and Reminders

2010-03-26 Thread Devin Austin
Hello students! It's getting even closer to the deadline to submit applications and have things rounded up and in order for this year's Google Summer of Code. Catalyst has plenty of projects for you to check out if you're interested, so please check out the wiki:

Re: [Catalyst] Picking template type based on input

2010-03-26 Thread Jon mailinglists
On Fri, Mar 26, 2010 at 6:03 PM, J. Shirley jshir...@gmail.com wrote: On Fri, Mar 26, 2010 at 9:31 AM, Jon mailinglists jon.ml...@gmail.com wrote: On Fri, Mar 26, 2010 at 1:50 PM, Tomas Doran bobtf...@bobtfish.net wrote: Jon mailinglists wrote: Hi all, [snip] How is generating JSON in