| ![[BACK]](/icons/cvsweb/back.gif) Return to test1143 CVS log ![[TXT]](/icons/cvsweb/text.gif) | ![[DIR]](/icons/cvsweb/dir.gif) Up to  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data | 
1.1       misho       1: <testcase>
                      2: <info>
                      3: <keywords>
                      4: HTTP
                      5: HTTP GET
                      6: followlocation
                      7: </keywords>
                      8: </info>
                      9: # Server-side
                     10: <reply>
                     11: <data>
                     12: HTTP/1.1 200 hello
                     13: Connection: close
                     14: Content-Length: 4
                     15: 
                     16: hej
                     17: </data>
                     18: </reply>
                     19: 
                     20: # Client-side
                     21: <client>
                     22: <server>
                     23: http
                     24: </server>
                     25:  <name>
                     26: HTTP URL with http:/ (one slash!)
                     27:  </name>
                     28:  <command>
                     29: http:/%HOSTIP:%HTTPPORT/want/1143
                     30: </command>
                     31: <setenv>
                     32: # Needed for MSYS2 to not treat the argument as a POSIX path list
                     33: # that has to be converted to Windows paths
                     34: MSYS2_ARG_CONV_EXCL=http:/
                     35: </setenv>
                     36: </client>
                     37: 
                     38: # Verify data after the test has been "shot"
                     39: <verify>
                     40: <strip>
                     41: ^User-Agent:.*
                     42: </strip>
                     43: <protocol>
                     44: GET /want/1143 HTTP/1.1
                     45: Host: %HOSTIP:%HTTPPORT
                     46: Accept: */*
                     47: 
                     48: </protocol>
                     49: </verify>
                     50: </testcase>