tests: Adds random data to a post making it workable in nginx

For some reason nginx fails in a post with no body. This patch adds some random
data here. Other platforms should not be affected.
This commit is contained in:
Felipe Zimmerle 2014-01-03 09:36:25 -08:00
parent 450d621ca9
commit fb4e1f1b6b

View File

@ -285,6 +285,10 @@
},
request => new HTTP::Request(
POST => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt?arg1=val1&arg2=val2",
[
"Content-Type" => "application/x-www-form-urlencoded",
],
"a=b",
),
},
{