Heiko Klein
2004-09-21 07:03:02 UTC
Why is there the get_current function in Request in OI2 1.99_05? As the
documentation says, the current request can be fetched by CTX->request
or OI2::Request->get_current.
get_current is not implemented for Request/Apache.pm and
Request/Apache2.pm, and the implementation for CGI, LWP and Standalone
might give different results from CTX->request when switching the
implementation (its stored in the implementation class).
I had some problems while debugging because of this double store of
request. Is a patch welcome?
Best regards,
Heiko
documentation says, the current request can be fetched by CTX->request
or OI2::Request->get_current.
get_current is not implemented for Request/Apache.pm and
Request/Apache2.pm, and the implementation for CGI, LWP and Standalone
might give different results from CTX->request when switching the
implementation (its stored in the implementation class).
I had some problems while debugging because of this double store of
request. Is a patch welcome?
Best regards,
Heiko