Apache2-POST200

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

            |
            v
      server processes the form and replies with HTTP code 200 (4)

    Apache2::POST200 intercepts the server reply, stores the response in a
    database and sends a temporary redirect to the browser. It also
    intercepts the following request from the browser and sends the stored
    reply.

  How it works
    This module inserts an request output filter that looks for replies for
    POST requests with a HTTP code of 200. If it finds one it saves the
    reply in a database and replaces the complete output with a temporary
    redirect (HTTP code 302) to the same URL but with a special marked query
    string appended.

    When the browser follows the redirect the module recognizes the query
    string and routes the request to its own response handler. The handler
    then reads the saved page from the database and sends it to the browser.

    Well, the request routing is actually done by a tricky translation

lib/Apache2/POST200.pod  view on Meta::CPAN

        v
  server processes the form and replies with HTTP code 200 (4)

Apache2::POST200 intercepts the server reply, stores the response
in a database and sends a temporary redirect to the browser. It also
intercepts the following request from the browser and sends the stored
reply.

=head2 How it works

This module inserts an request output filter that looks for replies for
POST requests with a HTTP code of 200. If it finds one it saves the reply
in a database and replaces the complete output with a temporary redirect
(HTTP code 302) to the same URL but with a special marked query string
appended.

When the browser follows the redirect the module recognizes the query
string and routes the request to its own response handler. The handler
then reads the saved page from the database and sends it to the browser.

Well, the request routing is actually done by a tricky translation



( run in 0.447 second using v1.01-cache-2.11-cpan-64827b87656 )