Annotation of embedaddon/curl/tests/data/test17, revision 1.1

1.1     ! misho       1: <testcase>
        !             2: <info>
        !             3: <keywords>
        !             4: HTTP
        !             5: HTTP custom request
        !             6: config file
        !             7: </keywords>
        !             8: </info>
        !             9: # Server-side
        !            10: <reply>
        !            11: <data>
        !            12: HTTP/1.1 200 OK
        !            13: Funny-head: yesyes
        !            14: Content-Length: 27
        !            15: 
        !            16: This is the proof it works
        !            17: </data>
        !            18: </reply>
        !            19: 
        !            20: # Client-side
        !            21: <client>
        !            22: <server>
        !            23: http
        !            24: </server>
        !            25:  <name>
        !            26: HTTP with config file on stdin
        !            27:  </name>
        !            28:  <stdin>
        !            29: #
        !            30: # Use a silly request without '--':
        !            31: request MOOO
        !            32: #
        !            33: # Set the user-agent using a short-option:
        !            34: -A "agent007 license to drill\t"
        !            35: #
        !            36: # long option *with* '--':
        !            37: --max-time 180
        !            38:  </stdin>
        !            39:  <command>
        !            40: -K - %HOSTIP:%HTTPPORT/that.site.com/17
        !            41: </command>
        !            42: </client>
        !            43: 
        !            44: # Verify data after the test has been "shot"
        !            45: <verify>
        !            46: <protocol>
        !            47: MOOO /that.site.com/17 HTTP/1.1
        !            48: Host: %HOSTIP:%HTTPPORT
        !            49: User-Agent: agent007 license to drill  
        !            50: Accept: */*
        !            51: 
        !            52: </protocol>
        !            53: </verify>
        !            54: </testcase>

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