Return-Path: Delivered-To: apmail-httpd-apreq-cvs-archive@www.apache.org Received: (qmail 19255 invoked from network); 4 Nov 2005 15:01:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Nov 2005 15:01:09 -0000 Received: (qmail 10947 invoked by uid 500); 4 Nov 2005 15:01:09 -0000 Delivered-To: apmail-httpd-apreq-cvs-archive@httpd.apache.org Received: (qmail 10907 invoked by uid 500); 4 Nov 2005 15:01:08 -0000 Mailing-List: contact apreq-cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: apreq-dev@httpd.apache.org List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-cvs@httpd.apache.org Received: (qmail 10896 invoked by uid 99); 4 Nov 2005 15:01:08 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 04 Nov 2005 07:01:08 -0800 Received: (qmail 19152 invoked by uid 65534); 4 Nov 2005 15:00:48 -0000 Message-ID: <20051104150048.19149.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r330817 - /httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod Date: Fri, 04 Nov 2005 15:00:47 -0000 To: apreq-cvs@httpd.apache.org From: joes@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: joes Date: Fri Nov 4 07:00:45 2005 New Revision: 330817 URL: http://svn.apache.org/viewcvs?rev=330817&view=rev Log: document undef returns Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod?rev=330817&r1=330816&r2=330817&view=diff ============================================================================== --- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod (original) +++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod Fri Nov 4 07:00:45 2005 @@ -237,8 +237,8 @@ $req->jar($key) With no arguments, this method returns a tied APR::Request::Cookie::Table -object in scalar context, or the names (in order, with repetitions) of all -the parsed cookies. +object (or undef if the "Cookie" header is absent) in scalar context, or +the names (in order, with repetitions) of all the parsed cookies. With the C<$key> argument, in scalar context this method fetches the first matching cookie. In list context it returns all matching cookies. @@ -276,8 +276,8 @@ $req->args($key) With no arguments, this method returns a tied APR::Request::Param::Table -object in scalar context, or the names (in order, with repetitions) of all -the parsed query-string arguments. +object (or undef if the query string is absent) in scalar context, or the +names (in order, with repetitions) of all the parsed query-string arguments. With the C<$key> argument, in scalar context this method fetches the first matching query-string arg. In list context it returns all matching args. @@ -312,8 +312,8 @@ $req->body($key) With no arguments, this method returns a tied APR::Request::Param::Table -object in scalar context, or the names (in order, with repetitions) of all -the parsed cookies. +object (or undef if the request body is absent) in scalar context, or the +names (in order, with repetitions) of all the parsed cookies. With the C<$key> argument, in scalar context this method fetches the first matching body param. In list context it returns all matching body params. @@ -348,8 +348,9 @@ $req->param($key) With no arguments, this method returns a tied APR::Request::Param::Table -object in scalar context, or the names (in order, with repetitions) of all -the incoming (args + body) params. +object (or undef, if the query string and request body are absent) in scalar +context, or the names (in order, with repetitions) of all the incoming +(args + body) params. With the C<$key> argument, in scalar context this method fetches the first matching param. In list context it returns all matching params. @@ -384,8 +385,9 @@ $req->upload($key) With no arguments, this method returns a tied APR::Request::Param::Table -object in scalar context (whose entries are APR::Request::Param objects), -or the names (in order, with repetitions) of all the incoming uploads. +object (or undef if the request body is absent) in scalar context (whose +entries are APR::Request::Param objects), or the names (in order, with +repetitions) of all the incoming uploads. With the C<$key> argument, in scalar context this method fetches the first matching upload. In list context it returns all matching uploads. The return