File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1532
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: </keywords>
    7: </info>
    8: 
    9: #
   10: # Server-side
   11: <reply>
   12: <data nocheck="yes">
   13: HTTP/1.0 200 OK swsclose
   14: Content-Length: 0
   15: 
   16: </data>
   17: </reply>
   18: 
   19: # Client-side
   20: <client>
   21: <server>
   22: http
   23: </server>
   24: # tool is what to use instead of 'curl'
   25: <tool>
   26: lib1532
   27: </tool>
   28: <name>
   29: Test CURLINFO_RESPONSE_CODE
   30: </name>
   31: <command>
   32: http://%HOSTIP:%HTTPPORT/1532
   33: </command>
   34: </client>
   35: 
   36: #
   37: # Verify data after the test has been "shot"
   38: <verify>
   39: <protocol>
   40: GET /1532 HTTP/1.1
   41: Host: %HOSTIP:%HTTPPORT
   42: Accept: */*
   43: 
   44: </protocol>
   45: <errorcode>
   46: 0
   47: </errorcode>
   48: </verify>
   49: </testcase>

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