File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1906
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: CURLOPT_CURLU
    5: CURLOPT_PORT
    6: </keywords>
    7: </info>
    8: 
    9: # Server-side
   10: <reply>
   11: <data nocheck="yes">
   12: HTTP/1.1 200 OK
   13: Date: Thu, 09 Nov 2010 14:49:00 GMT
   14: Server: test-server/fake
   15: Content-Type: text/html
   16: Funny-head: yesyes swsclose
   17: 
   18: </data>
   19: </reply>
   20: 
   21: # Client-side
   22: <client>
   23: <server>
   24: http
   25: </server>
   26:  <name>
   27: CURLOPT_CURLU and CURLOPT_PORT
   28:  </name>
   29: <tool>
   30: lib1906
   31: </tool>
   32: 
   33: # The tool does two requesets, the first sets CURLOPT_PORT to 1
   34: # the second resets the port again and expects that request to work.
   35: <command>
   36: http://%HOSTIP:%HTTPPORT/1906
   37: </command>
   38: </client>
   39: 
   40: # Verify data after the test has been "shot"
   41: <verify>
   42: <strip>
   43: ^User-Agent:.*
   44: </strip>
   45: <protocol>
   46: GET /1906 HTTP/1.1
   47: Host: %HOSTIP:%HTTPPORT
   48: Accept: */*
   49: 
   50: </protocol>
   51: </verify>
   52: </testcase>

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