mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 03:25:04 -05:00
33bea767eb
are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
41 lines
507 B
Plaintext
41 lines
507 B
Plaintext
<testcase>
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
MOOOOO
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
SSL
|
|
</features>
|
|
<server>
|
|
https
|
|
</server>
|
|
<name>
|
|
HTTPS GET over HTTP proxy fails
|
|
</name>
|
|
<command>
|
|
-k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test/slash/302
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
56
|
|
</errorcode>
|
|
<strip>
|
|
^User-Agent:.*
|
|
</strip>
|
|
<protocol>
|
|
</protocol>
|
|
<data>
|
|
[insert full protocol verifiction dump here]
|
|
</data>
|
|
</verify>
|
|
</testcase>
|