Annotation of embedaddon/curl/tests/data/test431, revision 1.1.1.1

1.1       misho       1: <testcase>
                      2: # Derived from on https://github.com/curl/curl/issues/5120
                      3: <info>
                      4: <keywords>
                      5: --next
                      6: --config
                      7: POST
                      8: </keywords>
                      9: </info>
                     10: 
                     11: #
                     12: # Server-side
                     13: <reply>
                     14: <data1>
                     15: HTTP/1.1 200 OK
                     16: Content-Length: 6
                     17: Content-Type: text/1
                     18: 
                     19: -foo-
                     20: </data1>
                     21: <data2>
                     22: HTTP/1.1 200 OK
                     23: Content-Length: 6
                     24: Content-Type: text/2
                     25: 
                     26: -foo-
                     27: </data2>
                     28: <data3>
                     29: HTTP/1.1 200 OK
                     30: Content-Length: 6
                     31: Content-Type: text/3
                     32: 
                     33: -foo-
                     34: </data3>
                     35: </reply>
                     36: 
                     37: #
                     38: # Client-side
                     39: <client>
                     40: <file1 name="log/config431-a">
                     41: --next
                     42: url = %HOSTIP:%HTTPPORT/4310001
                     43: header = "a: a"
                     44: data = "a"
                     45: </file1>
                     46: <file2 name="log/config431-b">
                     47: --next
                     48: url = %HOSTIP:%HTTPPORT/4310002
                     49: header = "b: b"
                     50: data = "b"
                     51: </file2>
                     52: 
                     53: <server>
                     54: http
                     55: </server>
                     56:  <name>
                     57: Two -K uses with --next and then one on cmdline
                     58:  </name>
                     59:  <command>
                     60: -K log/config431-a -K log/config431-b --next -d c %HOSTIP:%HTTPPORT/4310003 -H "c: c"
                     61: </command>
                     62: </client>
                     63: 
                     64: #
                     65: # Verify data after the test has been "shot"
                     66: <verify>
                     67: <strip>
                     68: ^User-Agent:.*
                     69: </strip>
                     70: <protocol nonewline="yes">
                     71: POST /4310001 HTTP/1.1
                     72: Host: %HOSTIP:%HTTPPORT
                     73: Accept: */*
                     74: a: a
                     75: Content-Length: 1
                     76: Content-Type: application/x-www-form-urlencoded
                     77: 
                     78: aPOST /4310002 HTTP/1.1
                     79: Host: %HOSTIP:%HTTPPORT
                     80: Accept: */*
                     81: b: b
                     82: Content-Length: 1
                     83: Content-Type: application/x-www-form-urlencoded
                     84: 
                     85: bPOST /4310003 HTTP/1.1
                     86: Host: %HOSTIP:%HTTPPORT
                     87: Accept: */*
                     88: c: c
                     89: Content-Length: 1
                     90: Content-Type: application/x-www-form-urlencoded
                     91: 
                     92: c
                     93: </protocol>
                     94: </verify>
                     95: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>