Just another Perl shrine | |
PerlMonks |
Re: Re:x2 Reading RAW POST databy IlyaM (Parson) |
on Dec 18, 2001 at 15:35 UTC ( [id://132810]=note: print w/replies, xml ) | Need Help?? |
Reply to updated node:
I would not completely ignore content-length. It can be incorrect sometimes (user agents can lie) but it is useful as upper limit for input data (and I use it as such in my code). I'm not sure but AFAIK under mod_perl you never get 'end of file' from STDIN. So even if content length is correct your code punishes good user agents with 45 seconds delay.
--
In Section
Seekers of Perl Wisdom
|
|