On 11 Apr 2007, at 16:43, Bill Moseley wrote:
On Wed, Apr 11, 2007 at 03:28:59PM +0100, Adeola Awoyemi wrote:
if ( $new_img->write( file => $new_filename ) ) {
I tried using "$c->response->redirect( $new_filepath )" but that
issues a 302 "Temporarily Moved" status.
I suspect your web do
On Wed, Apr 11, 2007 at 08:36:52AM -0700, Bill Moseley wrote:
> On Wed, Apr 11, 2007 at 03:28:59PM +0100, Adeola Awoyemi wrote:
> > if ( $new_img->write( file => $new_filename ) ) {
> >
> > I tried using "$c->response->redirect( $new_filepath )" but that
> > issues a 302 "Temporarily Moved"
>> Maybe $c->forward( $new_filepath )?
>
> I don't think this would work as you can only forward to actions or
> components.
>
I think Catalyst::Plugin::SubRequest would be interesting to look at.
Regards,
Renaud Drousies
___
List: Catalyst@lists.raw
On Wed, Apr 11, 2007 at 03:28:59PM +0100, Adeola Awoyemi wrote:
> if ( $new_img->write( file => $new_filename ) ) {
>
> I tried using "$c->response->redirect( $new_filepath )" but that
> issues a 302 "Temporarily Moved" status.
I suspect your web document root is not the root of the file sy
Adeola Awoyemi escribió:
Hi all,
Is there a way to do an internal redirect in Catalyst?
In my application I'm generating images on the fly and want to
redirect to the image if creation succeeds.
For instance:
$image = Imager->new()
$image->read( file => $src_file );
$new_img = $
On 11 Apr 2007, at 15:55, Eduard Giménez wrote:
Maybe $c->forward( $new_filepath )?
I don't think this would work as you can only forward to actions or
components.
Adeola
--
Creative Developer - Digital Craftsmen Ltd
Exmouth House, 3 Pine Street
London, EC1R 0JH
t: +44 20 7183 1410
f: +4
> I tried using "$c->response->redirect( $new_filepath )" but
> that issues a 302 "Temporarily Moved" status. But what I
> actually want is a way to do the redirect outside of the
> response chain.
>
> I hope this is clear?!
Maybe $c->forward( $new_filepath )?
Eduard Giménez
CAPSiDE
Systems
Adeola Awoyemi escribió:
Hi all,
Is there a way to do an internal redirect in Catalyst?
In my application I'm generating images on the fly and want to
redirect to the image if creation succeeds.
For instance:
$image = Imager->new()
$image->read( file => $src_file );
$new_img = $
Hi all,
Is there a way to do an internal redirect in Catalyst?
In my application I'm generating images on the fly and want to
redirect to the image if creation succeeds.
For instance:
$image = Imager->new()
$image->read( file => $src_file );
$new_img = $image->copy->scale( xpixe