File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1536
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: Last-Modified: Thu, 01 Jan 1970 00:00:30 GMT
   15: Content-Length: 0
   16: 
   17: </data>
   18: </reply>
   19: 
   20: # Client-side
   21: <client>
   22: <server>
   23: http
   24: </server>
   25: # tool is what to use instead of 'curl'
   26: <tool>
   27: lib1536
   28: </tool>
   29: <name>
   30: Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME
   31: </name>
   32: <command>
   33: http://%HOSTIP:%HTTPPORT/1536
   34: </command>
   35: </client>
   36: 
   37: #
   38: # Verify data after the test has been "shot"
   39: <verify>
   40: <protocol>
   41: GET /1536 HTTP/1.1
   42: Host: %HOSTIP:%HTTPPORT
   43: Accept: */*
   44: 
   45: </protocol>
   46: <errorcode>
   47: 0
   48: </errorcode>
   49: </verify>
   50: </testcase>

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