1 ################################################################################
3 # An incomplete POST request.
6 # Carlos Ghan <charlie.brown.uy@gmail.com>
12 # A POST request with missing Content-Length.(Should return "Length Required")
13 ################################################################################
15 # Why post_test02.htt sometimes fail ?
16 # ------------------------------------
17 # Sometimes this test fails, because httest send the whole data by parts, so when
18 # Monkey read the first part including headers and a part of body, if a
19 # content-length header doesn't exists, Monkey doesn't wait for the whole request
20 # and send the error 411, sometimes httest cannot handle this information as it is
29 __Content-Type: text/plain
32 _-someVariable=1234&daemon=monkeyd&SESSION=e1d83283d597ca88f599e34c8ef2e8c3
33 _EXPECT . "HTTP/1.1 411 Length Required"