tests/cts: When there's lots of POST data, read it from a file
[privoxy.git] / tests / cts / client-body-filter-https / data / test17
index 57ba21c..8c87f0f 100644 (file)
@@ -57,8 +57,11 @@ proxy
 </features>
 # We mainly care about the second request which is too large for Privoxy to buffer it.
 <command>
---insecure https://%HOSTIP:%HTTPSPORT/first-request/%TESTNUMBER --next -d "blafasel%repeat[20000 x padding]%" --insecure https://%HOSTIP:%HTTPSPORT/second-request/%TESTNUMBER
+--insecure https://%HOSTIP:%HTTPSPORT/first-request/%TESTNUMBER --next -d @log/post-data-%TESTNUMBER --insecure https://%HOSTIP:%HTTPSPORT/second-request/%TESTNUMBER
 </command>
+<file name="log/post-data-%TESTNUMBER">
+blafasel%repeat[20000 x padding]%
+</file>
 </client>
 
 <verify>