Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re:x2 Reading RAW POST data

by IlyaM (Parson)
on Dec 18, 2001 at 15:35 UTC ( #132810=note: print w/ replies, xml ) Need Help??


in reply to Re:x2 Reading RAW POST data
in thread How do I read POST data that is not encoded, and was submitted without a parameter name

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.

--
Ilya Martynov (http://martynov.org/)


Comment on Re: Re:x2 Reading RAW POST data

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://132810]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2015-07-03 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (56 votes), past polls