You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ma...@apache.org on 2002/02/01 15:45:07 UTC
cvs commit: xml-axkit/lib/Apache/AxKit/StyleChooser Cookie.pm FileSuffix.pm PathInfo.pm QueryString.pm UserAgent.pm
matts 02/02/01 06:45:07
Modified: lib/Apache/AxKit/StyleChooser Cookie.pm FileSuffix.pm
PathInfo.pm QueryString.pm UserAgent.pm
Log:
Updated all StyleChoosers to return OK, not DECLINED
Revision Changes Path
1.2 +3 -3 xml-axkit/lib/Apache/AxKit/StyleChooser/Cookie.pm
Index: Cookie.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/StyleChooser/Cookie.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Cookie.pm 13 Jan 2002 20:45:12 -0000 1.1
+++ Cookie.pm 1 Feb 2002 14:45:07 -0000 1.2
@@ -1,9 +1,9 @@
-# $Id: Cookie.pm,v 1.1 2002/01/13 20:45:12 matts Exp $
+# $Id: Cookie.pm,v 1.2 2002/02/01 14:45:07 matts Exp $
package Apache::AxKit::StyleChooser::Cookie;
use strict;
-use Apache::Constants;
+use Apache::Constants qw(OK);
use Apache::Cookie;
use vars qw($VERSION);
@@ -17,7 +17,7 @@
$r->notes('preferred_style', $oreo->{'axkit_preferred_style'}->value);
}
- return DECLINED;
+ return OK;
}
1;
1.2 +3 -3 xml-axkit/lib/Apache/AxKit/StyleChooser/FileSuffix.pm
Index: FileSuffix.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/StyleChooser/FileSuffix.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FileSuffix.pm 13 Jan 2002 20:45:12 -0000 1.1
+++ FileSuffix.pm 1 Feb 2002 14:45:07 -0000 1.2
@@ -1,9 +1,9 @@
-# $Id: FileSuffix.pm,v 1.1 2002/01/13 20:45:12 matts Exp $
+# $Id: FileSuffix.pm,v 1.2 2002/02/01 14:45:07 matts Exp $
package Apache::AxKit::StyleChooser::FileSuffix;
use strict;
-use Apache::Constants;
+use Apache::Constants qw(OK);
use Apache::URI;
sub handler {
@@ -17,7 +17,7 @@
# warn "setting notes: $style\n";
$r->notes('preferred_style', $style);
}
- return DECLINED;
+ return OK;
}
1;
1.2 +3 -3 xml-axkit/lib/Apache/AxKit/StyleChooser/PathInfo.pm
Index: PathInfo.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/StyleChooser/PathInfo.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PathInfo.pm 13 Jan 2002 20:45:12 -0000 1.1
+++ PathInfo.pm 1 Feb 2002 14:45:07 -0000 1.2
@@ -1,9 +1,9 @@
-# $Id: PathInfo.pm,v 1.1 2002/01/13 20:45:12 matts Exp $
+# $Id: PathInfo.pm,v 1.2 2002/02/01 14:45:07 matts Exp $
package Apache::AxKit::StyleChooser::PathInfo;
use strict;
-use Apache::Constants;
+use Apache::Constants qw(OK);
use Apache::URI;
sub handler {
@@ -29,7 +29,7 @@
# warn "setting notes: $style\n";
$r->notes('preferred_style', $style);
}
- return DECLINED;
+ return OK;
}
1;
1.2 +3 -3 xml-axkit/lib/Apache/AxKit/StyleChooser/QueryString.pm
Index: QueryString.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/StyleChooser/QueryString.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- QueryString.pm 13 Jan 2002 20:45:12 -0000 1.1
+++ QueryString.pm 1 Feb 2002 14:45:07 -0000 1.2
@@ -1,9 +1,9 @@
-# $Id: QueryString.pm,v 1.1 2002/01/13 20:45:12 matts Exp $
+# $Id: QueryString.pm,v 1.2 2002/02/01 14:45:07 matts Exp $
package Apache::AxKit::StyleChooser::QueryString;
use strict;
-use Apache::Constants;
+use Apache::Constants qw(OK);
sub handler {
my $r = shift;
@@ -12,7 +12,7 @@
if ($in{style}) {
$r->notes('preferred_style', $in{style});
}
- return DECLINED;
+ return OK;
}
1;
1.2 +3 -3 xml-axkit/lib/Apache/AxKit/StyleChooser/UserAgent.pm
Index: UserAgent.pm
===================================================================
RCS file: /home/cvs/xml-axkit/lib/Apache/AxKit/StyleChooser/UserAgent.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- UserAgent.pm 13 Jan 2002 20:45:12 -0000 1.1
+++ UserAgent.pm 1 Feb 2002 14:45:07 -0000 1.2
@@ -1,4 +1,4 @@
-# $Id: UserAgent.pm,v 1.1 2002/01/13 20:45:12 matts Exp $
+# $Id: UserAgent.pm,v 1.2 2002/02/01 14:45:07 matts Exp $
package Apache::AxKit::StyleChooser::UserAgent;
@@ -7,7 +7,7 @@
$VERSION = '0.01';
-use Apache::Constants;
+use Apache::Constants qw(OK);
sub handler {
my $r = shift;
@@ -27,7 +27,7 @@
}
}
- return DECLINED;
+ return OK;
}
1;