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,
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!
Micah Johnson wrote:
Hi,
I'm trying to use a pre-existing CGI script without
modification. I'd like to use an input filter to tack
on something to the POST string. My filter adds the
string, but the CGI sees a CONTENT_LENGTH
environmental variable that corresponds to its
original lengt
Hi,
I'm trying to use a pre-existing CGI script without
modification. I'd like to use an input filter to tack
on something to the POST string. My filter adds the
string, but the CGI sees a CONTENT_LENGTH
environmental variable that corresponds to its
original length. How do I
I gmane.comp.apache.mod-perl, skrev Stephen Quinney:
I have had some problems like this in the past with POST and IE that
> seem to be connected to HTTP1.1 keepalive settings. Coincidentally, it
> seems those who run the Linux Weekly News site (http://lwn.net) have
> been having a very similar
s works fine, PHP CGI and perl CGI scripts normally, but when a
> > MSIE browser does a POST to the setup, the environmentvariable
> > CONTENT_LENGTH is set to 0 making some CGI scripts that depends on that
> > fail.
>
> The error_log information when it happens:
> Malf
ude, mod_status, mod_negotiation, mod_mime,
> mod_log_config, mod_env, http_core
>
> AuthenNTLM 0.23 or 2.05 (Both works fine at normal authentification)
>
> Most scripts works fine, PHP CGI and perl CGI scripts normally, but when a
> MSIE browser does a POST to the setup, the environ
tatus, mod_negotiation, mod_mime,
mod_log_config, mod_env, http_core
AuthenNTLM 0.23 or 2.05 (Both works fine at normal authentification)
Most scripts works fine, PHP CGI and perl CGI scripts normally, but when a
MSIE browser does a POST to the setup, the environmentvariable
CONTENT_LENGTH is set