File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test303
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: timeout
    7: </keywords>
    8: </info>
    9: 
   10: # Server-side
   11: <reply>
   12: <data>
   13: HTTP/1.1 200 OK
   14: Date: Thu, 09 Nov 2010 14:49:00 GMT
   15: Connection: close
   16: 
   17: _data_result_data_
   18: </data>
   19: <postcmd>
   20: wait 20
   21: </postcmd>
   22: </reply>
   23: 
   24: # Client-side
   25: <client>
   26: <features>
   27: SSL
   28: </features>
   29: <server>
   30: https
   31: </server>
   32:  <name>
   33: HTTPS with 8 secs timeout
   34:  </name>
   35:  <command>
   36: -k https://%HOSTIP:%HTTPSPORT/want/303 -m 8
   37: </command>
   38: </client>
   39: 
   40: # Verify data after the test has been "shot"
   41: <verify>
   42: <strip>
   43: ^User-Agent:.*
   44: </strip>
   45: <protocol>
   46: GET /want/303 HTTP/1.1
   47: Host: %HOSTIP:%HTTPSPORT
   48: Accept: */*
   49: 
   50: </protocol>
   51: <errorcode>
   52: 28
   53: </errorcode>
   54: </verify>
   55: </testcase>

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