File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test514
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 HEAD
    6: </keywords>
    7: </info>
    8: #
    9: # Server-side
   10: <reply>
   11: <data>
   12: HTTP/1.1 200 OK
   13: Date: Thu, 09 Nov 2010 14:49:00 GMT
   14: Server: test-server/fake
   15: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
   16: ETag: "21025-dc7-39462498"
   17: Accept-Ranges: bytes
   18: Content-Length: 6
   19: Connection: close
   20: Content-Type: text/html
   21: Funny-head: yesyes
   22: 
   23: </data>
   24: </reply>
   25: 
   26: #
   27: # Client-side
   28: <client>
   29: <server>
   30: http
   31: </server>
   32: <tool>
   33: lib514
   34: </tool>
   35:  <name>
   36: First set options to POST and then to make HEAD
   37:  </name>
   38: # the 1s post-command delay helps to prevent a spurious failure on s390
   39:  <command delay="1">
   40: http://%HOSTIP:%HTTPPORT/514
   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: HEAD /514 HTTP/1.1
   52: Host: %HOSTIP:%HTTPPORT
   53: Accept: */*
   54: 
   55: </protocol>
   56: </verify>
   57: </testcase>

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