perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lq jimmy <lq.ji...@gmail.com>
Subject Re: How to retrieve the custom variants from HTTP request header by mod_perl2?
Date Thu, 01 Apr 2010 08:42:00 GMT
Thank you very much!

2010/4/1 André Warnier <aw@ice-sa.com>

> lq jimmy wrote:
>
>> Thanks for your attention.
>>
>> But looks like Options "SetupEnv" is use for storing global constants into
>> hash table %ENV.
>>
>> My problem is that i don't know how to retrieve the parameters storing in
>> HTTP request header.
>>
>> Example:
>> I received a bytereange request, header Content:
>> Content-Type: text/plain
>> Content-Length: 1024
>> Range:  bytes=0-300,
>>
>> How can i retrieve "bytes=0-300" from the header in mod_perl2?
>>
>>  $r->headers_in()
> in http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html
>
>
>

Mime
View raw message