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

1.1       misho       1: <testcase>
                      2: <info>
                      3: <keywords>
                      4: HTTP
                      5: HTTP POST
                      6: </keywords>
                      7: </info>
                      8: #
                      9: # Server-side
                     10: <reply>
                     11: <data>
                     12: HTTP/1.0 200 OK
                     13: Server: test-server/fake
                     14: Content-Type: text/html
                     15: Content-Length: 0
                     16: 
                     17: this is data even though Content-Length is set to zero
                     18: </data>
                     19: <datacheck>
                     20: HTTP/1.0 200 OK
                     21: Server: test-server/fake
                     22: Content-Type: text/html
                     23: Content-Length: 0
                     24: 
                     25: </datacheck>
                     26: </reply>
                     27: 
                     28: #
                     29: # Client-side
                     30: <client>
                     31: <server>
                     32: http
                     33: </server>
                     34:  <name>
                     35: HTTP POST a non-existing file
                     36:  </name>
                     37:  <command>
                     38:  -d @nonesuchfile http://%HOSTIP:%HTTPPORT/268
                     39: </command>
                     40: </client>
                     41: 
                     42: #
                     43: # Verify data after the test has been "shot"
                     44: <verify>
                     45: <strip>
                     46: ^User-Agent:.*
                     47: </strip>
                     48: <protocol>
                     49: POST /268 HTTP/1.1
                     50: Host: %HOSTIP:%HTTPPORT
                     51: Accept: */*
                     52: Content-Length: 0
                     53: Content-Type: application/x-www-form-urlencoded
                     54: 
                     55: </protocol>
                     56: </verify>
                     57: </testcase>

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