File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test30
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 GET
    6: FAILURE
    7: </keywords>
    8: </info>
    9: # Server-side
   10: <reply>
   11: <data>
   12: </data>
   13: </reply>
   14: 
   15: # Client-side
   16: <client>
   17: <server>
   18: http
   19: </server>
   20:  <name>
   21: HTTP with no data in server reply
   22:  </name>
   23:  <command>
   24: http://%HOSTIP:%HTTPPORT/want/30
   25: </command>
   26: </client>
   27: 
   28: # Verify data after the test has been "shot"
   29: <verify>
   30: <strip>
   31: ^User-Agent:.*
   32: </strip>
   33: <protocol>
   34: GET /want/30 HTTP/1.1
   35: Host: %HOSTIP:%HTTPPORT
   36: Accept: */*
   37: 
   38: </protocol>
   39: <errorcode>
   40: 52
   41: </errorcode>
   42: </verify>
   43: </testcase>

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