Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 79033 invoked from network); 1 Apr 2010 08:42:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Apr 2010 08:42:29 -0000 Received: (qmail 81434 invoked by uid 500); 1 Apr 2010 08:42:28 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 81363 invoked by uid 500); 1 Apr 2010 08:42:27 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 81356 invoked by uid 99); 1 Apr 2010 08:42:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 08:42:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lq.jimmy@gmail.com designates 209.85.210.181 as permitted sender) Received: from [209.85.210.181] (HELO mail-yx0-f181.google.com) (209.85.210.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 08:42:21 +0000 Received: by yxe11 with SMTP id 11so377430yxe.10 for ; Thu, 01 Apr 2010 01:42:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=3+J7PUW4g+eFDBk/T9bQR9OYXPtRnnfL6eJ/dyMhvg0=; b=gkfJNaTG5FSJOf/4ODtTRfyMz8OSZAVsCCBUlJYhcYR3qsUSGXa1mCPydqRyuukc+b 9hY1MOPf7ysSS+60/MPgfxoa13xqLG8VXEaKu9mO5I+2F+88tAksvucFJLA03SSM+tek B7t89KsvlUj5CkOLmWkNM7XOj+jW46ms0/CiQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=pLWgUwC4wJP7/fMwJ6IqLPnbhno0twuwuIOHpnYTCBQB2o3UE+Yc0ic6dgHxfJvOSV yIfUjPnOsi3uQ4j5OHORGLxyo9Gtfo2rys25qBmmJ4ShsjrvcJBI9XKTb2Q8L1fVnLdU VnUZpglqBdHpURxYPX5YnRF42xRvD4qWWuts4= MIME-Version: 1.0 Received: by 10.150.136.20 with HTTP; Thu, 1 Apr 2010 01:42:00 -0700 (PDT) In-Reply-To: <4BB4595E.8010804@ice-sa.com> References: <4BB4595E.8010804@ice-sa.com> Date: Thu, 1 Apr 2010 16:42:00 +0800 Received: by 10.150.55.32 with SMTP id d32mr1137822yba.261.1270111320442; Thu, 01 Apr 2010 01:42:00 -0700 (PDT) Message-ID: Subject: Re: How to retrieve the custom variants from HTTP request header by mod_perl2? From: lq jimmy To: mod_perl list Content-Type: multipart/alternative; boundary=000e0cd70d3e148a87048328d66b --000e0cd70d3e148a87048328d66b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you very much! 2010/4/1 Andr=E9 Warnier > lq jimmy wrote: > >> Thanks for your attention. >> >> But looks like Options "SetupEnv" is use for storing global constants in= to >> hash table %ENV. >> >> My problem is that i don't know how to retrieve the parameters storing i= n >> HTTP request header. >> >> Example: >> I received a bytereange request, header Content: >> Content-Type: text/plain >> Content-Length: 1024 >> Range: bytes=3D0-300, >> >> How can i retrieve "bytes=3D0-300" from the header in mod_perl2? >> >> $r->headers_in() > in http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html > > > --000e0cd70d3e148a87048328d66b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you very much!


--000e0cd70d3e148a87048328d66b--