File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test307
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: HTTPS
    5: HTTP GET
    6: </keywords>
    7: </info>
    8: 
    9: #
   10: # Server-side
   11: <reply>
   12: <data>
   13: HTTP/1.1 200 OK
   14: Date: Tue, 16 Jan 2007 18:00:14 GMT
   15: Server: test-server/fake
   16: Content-Length: 7
   17: 
   18: MooMoo
   19: </data>
   20: </reply>
   21: 
   22: #
   23: # Client-side
   24: <client>
   25: <features>
   26: OpenSSL
   27: </features>
   28: <server>
   29: https
   30: </server>
   31: <precheck>
   32: perl %SRCDIR/libtest/test307.pl %CURL
   33: </precheck>
   34: 
   35:  <name>
   36: simple HTTPS GET with openssl engine
   37:  </name>
   38:  <command>
   39: --engine openssl -k https://%HOSTIP:%HTTPSPORT/307
   40: </command>
   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 /307 HTTP/1.1
   51: Host: %HOSTIP:%HTTPSPORT
   52: Accept: */*
   53: 
   54: </protocol>
   55: </verify>
   56: </testcase>

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