File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test302
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: HTTP CONNECT
    7: HTTP proxy
    8: FAILURE
    9: </keywords>
   10: </info>
   11: 
   12: # Server-side
   13: <reply>
   14: 
   15: <connect nocheck="yes">
   16: HTTP/1.1 405 Method Not Allowed swsclose
   17: 
   18: And you should ignore this data.
   19: </connect>
   20: 
   21: </reply>
   22: 
   23: # Client-side
   24: <client>
   25: <features>
   26: SSL
   27: </features>
   28: <server>
   29: https
   30: </server>
   31:  <name>
   32: HTTPS GET over HTTP proxy fails
   33:  </name>
   34:  <command>
   35: -k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:302/slash/302
   36: </command>
   37: </client>
   38: 
   39: #
   40: # Verify data after the test has been "shot"
   41: <verify>
   42: <errorcode>
   43: 56
   44: </errorcode>
   45: <strip>
   46: ^User-Agent:.*
   47: </strip>
   48: <data>
   49: </data>
   50: </verify>
   51: </testcase>

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