File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1144
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

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

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