File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1322
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: --resolve
    7: trailing dot
    8: </keywords>
    9: </info>
   10: 
   11: #
   12: # Server-side
   13: <reply>
   14: <data>
   15: HTTP/1.1 200 OK
   16: Date: Thu, 09 Nov 2010 14:49:00 GMT
   17: Server: test-server/fake
   18: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
   19: ETag: "21025-dc7-39462498"
   20: Accept-Ranges: bytes
   21: Content-Length: 6
   22: Connection: close
   23: Content-Type: text/html
   24: Funny-head: yesyes
   25: 
   26: -foo-
   27: </data>
   28: </reply>
   29: 
   30: #
   31: # Client-side
   32: <client>
   33: <server>
   34: http
   35: </server>
   36: <name>
   37: HTTP with --resolve and hostname with trailing dot
   38: </name>
   39: <command>
   40: --ipv4 --resolve example.com.:%HTTPPORT:%HOSTIP http://example.com.:%HTTPPORT/1322
   41: </command>
   42: </client>
   43: 
   44: #
   45: # Verify data after the test has been "shot"
   46: <verify>
   47: <strip>
   48: ^User-Agent:.*
   49: </strip>
   50: <protocol>
   51: GET /1322 HTTP/1.1
   52: Host: example.com:%HTTPPORT
   53: Accept: */*
   54: 
   55: </protocol>
   56: </verify>
   57: </testcase>

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