113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci# Derived from on https://github.com/curl/curl/issues/5120 313498266Sopenharmony_ci<info> 413498266Sopenharmony_ci<keywords> 513498266Sopenharmony_ci--next 613498266Sopenharmony_ci--config 713498266Sopenharmony_ciPOST 813498266Sopenharmony_ci</keywords> 913498266Sopenharmony_ci</info> 1013498266Sopenharmony_ci 1113498266Sopenharmony_ci# 1213498266Sopenharmony_ci# Server-side 1313498266Sopenharmony_ci<reply> 1413498266Sopenharmony_ci<data1> 1513498266Sopenharmony_ciHTTP/1.1 200 OK 1613498266Sopenharmony_ciContent-Length: 6 1713498266Sopenharmony_ciContent-Type: text/1 1813498266Sopenharmony_ci 1913498266Sopenharmony_ci-foo- 2013498266Sopenharmony_ci</data1> 2113498266Sopenharmony_ci<data2> 2213498266Sopenharmony_ciHTTP/1.1 200 OK 2313498266Sopenharmony_ciContent-Length: 6 2413498266Sopenharmony_ciContent-Type: text/2 2513498266Sopenharmony_ci 2613498266Sopenharmony_ci-foo- 2713498266Sopenharmony_ci</data2> 2813498266Sopenharmony_ci<data3> 2913498266Sopenharmony_ciHTTP/1.1 200 OK 3013498266Sopenharmony_ciContent-Length: 6 3113498266Sopenharmony_ciContent-Type: text/3 3213498266Sopenharmony_ci 3313498266Sopenharmony_ci-foo- 3413498266Sopenharmony_ci</data3> 3513498266Sopenharmony_ci</reply> 3613498266Sopenharmony_ci 3713498266Sopenharmony_ci# 3813498266Sopenharmony_ci# Client-side 3913498266Sopenharmony_ci<client> 4013498266Sopenharmony_ci<file1 name="%LOGDIR/config%TESTNUMBER"> 4113498266Sopenharmony_ci--next 4213498266Sopenharmony_ciurl = %HOSTIP:%HTTPPORT/%TESTNUMBER0001 4313498266Sopenharmony_ciheader = "a: a" 4413498266Sopenharmony_cidata = "a" 4513498266Sopenharmony_ci--next 4613498266Sopenharmony_ciurl = %HOSTIP:%HTTPPORT/%TESTNUMBER0002 4713498266Sopenharmony_ciheader = "b: b" 4813498266Sopenharmony_cidata = "b" 4913498266Sopenharmony_ciconfig = "%LOGDIR/config%TESTNUMBER-c" 5013498266Sopenharmony_ci</file1> 5113498266Sopenharmony_ci<file2 name="%LOGDIR/config%TESTNUMBER-c"> 5213498266Sopenharmony_ci--next 5313498266Sopenharmony_ciurl = %HOSTIP:%HTTPPORT/%TESTNUMBER0003 5413498266Sopenharmony_ciheader = "c: c" 5513498266Sopenharmony_cidata = "c" 5613498266Sopenharmony_ci</file2> 5713498266Sopenharmony_ci 5813498266Sopenharmony_ci<server> 5913498266Sopenharmony_cihttp 6013498266Sopenharmony_ci</server> 6113498266Sopenharmony_ci<name> 6213498266Sopenharmony_ciUse -K with --next and --config from within 6313498266Sopenharmony_ci</name> 6413498266Sopenharmony_ci<command> 6513498266Sopenharmony_ci-K %LOGDIR/config%TESTNUMBER 6613498266Sopenharmony_ci</command> 6713498266Sopenharmony_ci</client> 6813498266Sopenharmony_ci 6913498266Sopenharmony_ci# 7013498266Sopenharmony_ci# Verify data after the test has been "shot" 7113498266Sopenharmony_ci<verify> 7213498266Sopenharmony_ci<protocol nonewline="yes"> 7313498266Sopenharmony_ciPOST /%TESTNUMBER0001 HTTP/1.1 7413498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 7513498266Sopenharmony_ciUser-Agent: curl/%VERSION 7613498266Sopenharmony_ciAccept: */* 7713498266Sopenharmony_cia: a 7813498266Sopenharmony_ciContent-Length: 1 7913498266Sopenharmony_ciContent-Type: application/x-www-form-urlencoded 8013498266Sopenharmony_ci 8113498266Sopenharmony_ciaPOST /%TESTNUMBER0002 HTTP/1.1 8213498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 8313498266Sopenharmony_ciUser-Agent: curl/%VERSION 8413498266Sopenharmony_ciAccept: */* 8513498266Sopenharmony_cib: b 8613498266Sopenharmony_ciContent-Length: 1 8713498266Sopenharmony_ciContent-Type: application/x-www-form-urlencoded 8813498266Sopenharmony_ci 8913498266Sopenharmony_cibPOST /%TESTNUMBER0003 HTTP/1.1 9013498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 9113498266Sopenharmony_ciUser-Agent: curl/%VERSION 9213498266Sopenharmony_ciAccept: */* 9313498266Sopenharmony_cic: c 9413498266Sopenharmony_ciContent-Length: 1 9513498266Sopenharmony_ciContent-Type: application/x-www-form-urlencoded 9613498266Sopenharmony_ci 9713498266Sopenharmony_cic 9813498266Sopenharmony_ci</protocol> 9913498266Sopenharmony_ci</verify> 10013498266Sopenharmony_ci</testcase> 101