content_length

2009-11-24 Thread Ryan Perry
How do I get the content length of the request body? or the equivalent of $ENV{'CONTENT_LENGTH'} ? my $current_read = $r-read($current_buffer, $current_length - $current_remaining, $current_remaining); Thanks!

Re: content_length

2009-11-24 Thread Adam Prime
Ryan Perry wrote: How do I get the content length of the request body? or the equivalent of $ENV{'CONTENT_LENGTH'} ? my $current_read = $r-read($current_buffer, $current_length - $current_remaining, $current_remaining); Thanks! Content-Length is just a header, so you get it