You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Torsten Foertsch <to...@gmx.net> on 2006/03/08 13:48:22 UTC

[ANNOUNCE]Apache2::POST200

This email is to announce the new Apache2::POST200:
http://search.cpan.org/~opi/Apache2-POST200-0.03/lib/Apache2/POST200.pod

The module implements an output filter that intercepts replies with HTTP code 
200 to request using the POST method. It turns them into redirects (HTTP code 
302) saving the original output. When the redirected request comes in the 
page is sent.

The module can be useful in several situations:

1) It can simplify developement, since you don't need to bother to generate 
the redirects by yourself.

2) It can "repair" external WEB applications. Sometimes you need to deploy 
applications not written by yourself. If they answer with code 200 to POST 
requests the "Refresh", "Back" and "Forward" buttons in the browser would not 
work as expected. Put Apache2::POST200 in and these problems are gone.

3) Consider a typical frontend/backend configuration where the frontend serves 
static content and proxies dynamic content to the backend. Using 
Apache2::POST200 in the frontend can take load off the backend. Often it 
takes comparable time to generate the redirect response for the initial 
request or the wanted page for the redirected. In both requests the both 
frontend and backend are involved. Using Apache2::POST200 on the frontend 
unburdens the backend from the redirected request. The load on the frontend 
is almost the same.

Hope some people find it useful...

Torsten