File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test241
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: IPv6
    7: IPv6-hostname
    8: </keywords>
    9: </info>
   10: #
   11: # Server-side
   12: <reply>
   13: <data>
   14: HTTP/1.1 200 OK
   15: Date: Thu, 09 Nov 2010 14:49:00 GMT
   16: Server: test-server/fake
   17: Content-Length: 6
   18: 
   19: hello
   20: </data>
   21: </reply>
   22: 
   23: #
   24: # Client-side
   25: <client>
   26: <features>
   27: ipv6
   28: </features>
   29: <server>
   30: http-ipv6
   31: </server>
   32:  <name>
   33: HTTP-IPv6 GET (using ip6-localhost)
   34:  </name>
   35:  <command>
   36: -g "http://ip6-localhost:%HTTP6PORT/241"
   37: </command>
   38: <precheck>
   39: ./server/resolve --ipv6 ip6-localhost
   40: </precheck>
   41: </client>
   42: 
   43: #
   44: # Verify data after the test has been "shot"
   45: <verify>
   46: <strip>
   47: ^User-Agent:
   48: </strip>
   49: <protocol>
   50: GET /241 HTTP/1.1
   51: Host: ip6-localhost:%HTTP6PORT
   52: Accept: */*
   53: 
   54: </protocol>
   55: </verify>
   56: </testcase>

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