Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP HEAD
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 <data>
     13 No headers at all, just data swsclose
     14 
     15 Let's get
     16 
     17 a little
     18 
     19 so that
     20 
     21 we
     22 
     23 have
     24 
     25 some
     26 
     27 test
     28 
     29 data to
     30 
     31 verify
     32 </data>
     33 # make sure no data is written
     34 <datacheck nonewline="yes">
     35 
     36 </datacheck>
     37 </reply>
     38 
     39 #
     40 # Client-side
     41 <client>
     42 <server>
     43 http
     44 </server>
     45  <name>
     46 HTTP HEAD, receive no headers only body
     47  </name>
     48  <command>
     49 -I http://%HOSTIP:%HTTPPORT/1144
     50 </command>
     51 </client>
     52 
     53 #
     54 # Verify data after the test has been "shot"
     55 <verify>
     56 <strip>
     57 ^User-Agent:.*
     58 </strip>
     59 <protocol>
     60 HEAD /1144 HTTP/1.1
     61 Host: %HOSTIP:%HTTPPORT
     62 Accept: */*
     63 
     64 </protocol>
     65 <errorcode>
     66 8
     67 </errorcode>
     68 </verify>
     69 </testcase>
     70