File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test59
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: # Server-side
   10: <reply>
   11: <data>
   12: HTTP/1.0 200 OK swsclose
   13: Date: Thu, 09 Nov 2010 14:49:00 GMT
   14: Server: test-server/fake
   15: 
   16: hej 
   17: </data>
   18: </reply>
   19: 
   20: #
   21: # Client-side
   22: <client>
   23: <server>
   24: http
   25: </server>
   26:  <name>
   27: HTTP URL with slash but with "parameter"
   28:  </name>
   29:  <command>
   30: "http://%HOSTIP:%HTTPPORT?mooo/59"
   31: </command>
   32: </client>
   33: 
   34: #
   35: # Verify data after the test has been "shot"
   36: <verify>
   37: <strip>
   38: ^User-Agent:.*
   39: </strip>
   40: <protocol>
   41: GET /?mooo/59 HTTP/1.1
   42: Host: %HOSTIP:%HTTPPORT
   43: Accept: */*
   44: 
   45: </protocol>
   46: </verify>
   47: </testcase>

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