Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 CURLPAUSE_RECV
      7 chunked Transfer-Encoding
      8 Trailer:
      9 </keywords>
     10 </info>
     11 
     12 # Server-side
     13 <reply>
     14 <data>
     15 HTTP/1.1 200 OK swsclose
     16 Transfer-Encoding: chunked
     17 Trailer: MyCoolTrailerHeader
     18 
     19 4
     20 data
     21 5
     22 d474
     23 
     24 0
     25 MyCoolTrailerHeader: amazingtrailer
     26 
     27 </data>
     28 <datacheck>
     29 HTTP/1.1 200 OK swsclose
     30 Transfer-Encoding: chunked
     31 Trailer: MyCoolTrailerHeader
     32 
     33 Got 4 bytes but pausing!
     34 datad474
     35 MyCoolTrailerHeader: amazingtrailer
     36 </datacheck>
     37 
     38 </reply>
     39 # Client-side
     40 <client>
     41 <server>
     42 http
     43 </server>
     44 <tool>
     45 lib1540
     46 </tool>
     47  <name>
     48 chunked with trailers and pausing the receive
     49  </name>
     50  <command>
     51 http://%HOSTIP:%HTTPPORT/1540
     52 </command>
     53 </client>
     54 
     55 # Verify data after the test has been "shot"
     56 <verify>
     57 <protocol>
     58 GET /1540 HTTP/1.1
     59 Host: %HOSTIP:%HTTPPORT
     60 Accept: */*
     61 
     62 </protocol>
     63 </verify>
     64 </testcase>
     65