From: Chris W. <la...@us...> - 2004-11-28 19:31:48
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16462/lib/OpenInteract2 Modified Files: Request.pm Log Message: update OI2::Request implementations to pass the full URL -- with GET query arguments -- to assign_request_url() Index: Request.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Request.pm,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** Request.pm 28 Nov 2004 07:22:45 -0000 1.47 --- Request.pm 28 Nov 2004 17:50:46 -0000 1.48 *************** *** 660,667 **** This method is normally only called by the implementing subclass. The ! subclass should pass the full, absolute URL path (no protocol, host or ! port) so the C<url_absolute> and C<url_relative> properties are ! properly set. This also sets the action name and task for use by the ! controller. If you want to do any behind-the-scenes redirection before the --- 660,668 ---- This method is normally only called by the implementing subclass. The ! subclass should pass the full, absolute URL path -- no protocol, host ! or port, but query arguments should be included. With this the ! C<url_absolute> and C<url_relative> properties are properly set. The ! method also sets the action name and task for use by the controller, ! delegating the actual work to L<OpenInteract2::URL>. If you want to do any behind-the-scenes redirection before the *************** *** 669,673 **** instantiated, you can pass a path to this and the correct action will be processed. For instance, you can configure your site to force users ! to login, so no matter what URL is requested by a user who is not logged in they will always get your login page. This is done in the L<OpenInteract2::Auth|OpenInteract2::Auth> class -- if the user is not --- 670,674 ---- instantiated, you can pass a path to this and the correct action will be processed. For instance, you can configure your site to force users ! to login so no matter what URL is requested by a user who is not logged in they will always get your login page. This is done in the L<OpenInteract2::Auth|OpenInteract2::Auth> class -- if the user is not *************** *** 883,886 **** --- 884,892 ---- =head2 Parent initialization + The following methods are available for subclasses -- the idea is they + get the relevant data in a platform-dependent manner (parsing a + header, reading an envionment variable, whatever) and pass it to this + class to parse the data and place them in the right structure. + B<_parse_cookies()> *************** *** 901,909 **** create the session, which is stored in the C<session> property. - B<_find_language()> - - ... - - =head1 SEE ALSO --- 907,910 ---- *************** *** 912,915 **** --- 913,918 ---- L<OpenInteract2::Request::Apache|OpenInteract2::Request::Apache> + L<OpenInteract2::Request::Apache2|OpenInteract2::Request::Apache2> + L<OpenInteract2::Request::CGI|OpenInteract2::Request::CGI> |