damn text wrapping...
Index: Apache/Apache.pm
===================================================================
RCS file: /home/cvspublic/modperl/Apache/Apache.pm,v
retrieving revision 1.67
diff -u -r1.67 Apache.pm
--- Apache/Apache.pm 2 Jan 2002 09:41:23 -0000 1.67
+++ Apache/Apache.pm 11 Jan 2002 16:41:21 -0000
@@ -826,8 +826,9 @@
=item $r-E<gt>get_basic_auth_pw
-If the current request is protected by Basic authentication,
-this method will return 0, otherwise -1.
+If the current request is protected by Basic authentication, this
+method will return OK. Otherwise, it will return a value that
+ought to be propagated back to the client (typically AUTH_REQUIRED).
The second return value will be the decoded password sent by the client.
($ret, $sent_pw) = $r->get_basic_auth_pw;
Geoffrey Young wrote:
>
> hi guys...
>
> here is a doc update for get_basic_auth_pw.
>
> the discrepancy was noted in this thread:
> http://marc.theaimsgroup.com/?t=101068887900002&r=1&w=2
> and spotted by, uh, "The Sapphire Cat" :)
>
> --Geoff
>
> Index: Apache/Apache.pm
> ===================================================================
> RCS file: /home/cvspublic/modperl/Apache/Apache.pm,v
> retrieving revision 1.67
> diff -u -r1.67 Apache.pm
> --- Apache/Apache.pm 2 Jan 2002 09:41:23 -0000 1.67
> +++ Apache/Apache.pm 11 Jan 2002 16:41:21 -0000
> @@ -826,8 +826,9 @@
>
> =item $r-E<gt>get_basic_auth_pw
>
> -If the current request is protected by Basic authentication,
> -this method will return 0, otherwise -1.
> +If the current request is protected by Basic authentication, this
> +method will return OK. Otherwise, it will return a value that
> +ought to be propagated back to the client (typically AUTH_REQUIRED).
> The second return value will be the decoded password sent by the
> client.
>
> ($ret, $sent_pw) = $r->get_basic_auth_pw;
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]