mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2010-02-17 04:54 am

[dw-free] DW::Request::Standard

[commit: http://hg.dwscoalition.org/dw-free/rev/6198b849e8ec]

http://bugs.dwscoalition.org/show_bug.cgi?id=2313

Add DW::Request::Standard.

Patch by [personal profile] exor674.

Files modified:
  • cgi-bin/DW/Request.pm
--------------------------------------------------------------------------------
diff -r f14d6f610694 -r 6198b849e8ec cgi-bin/DW/Request.pm
--- a/cgi-bin/DW/Request.pm	Wed Feb 17 04:52:18 2010 +0000
+++ b/cgi-bin/DW/Request.pm	Wed Feb 17 04:54:54 2010 +0000
@@ -19,6 +19,7 @@ package DW::Request;
 
 use strict;
 use DW::Request::Apache2;
+use DW::Request::Standard;
 
 use vars qw( $cur_req $determined );
 
@@ -37,6 +38,10 @@ sub get {
             if $r;
     };
 
+    # NOTE: the Standard module is not done through this path, it is done by
+    # someone instantiating the module.  the module itself then sets $determined
+    # and $cur_req appropriately.
+
     # hopefully one of the above worked and set $cur_req, but if not, then we
     # assume we're in fallback/command line mode
     $determined = 1;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org