[Catalyst] returning empty 200 response

Jonathan Rockway jon at jrock.us
Sun Oct 28 12:12:04 GMT 2007


I wrote:
> Devo Coran wrote:
>   =

>> but the problem is it keeps going to =

>> /end
>> MyApp::View::TT->process =

>>     =

>
>     return 1 if $c->response->status =3D~ /^(?:204|3\d\d)$/;
>   =


Actually, you want to send a 204 status instead of 200.  204 means
"success but no body content", which is exactly your case.

Regards,
Jonathan Rockway


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20071028/78c2=
2764/signature.pgp


More information about the Catalyst mailing list