mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
2b1673c9c8
no fixed port numbers in use anymore. Starting now, the default ports the servers use are 8990 - 8993. There's no option to modify these yet, but changing the $base option in the top of the runtests.pl script.
42 lines
502 B
Plaintext
42 lines
502 B
Plaintext
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
HTTP/1.1 200 OK
|
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
|
Server: test-server/fake
|
|
Content-Length: 7
|
|
|
|
MooMoo
|
|
</data>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
https
|
|
</server>
|
|
<name>
|
|
simple HTTPS GET
|
|
</name>
|
|
<command>
|
|
-k https://%HOSTIP:%HTTPSPORT/300
|
|
</command>
|
|
</test>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<strip>
|
|
^User-Agent:.*
|
|
</strip>
|
|
<protocol>
|
|
GET /300 HTTP/1.1
|
|
Host: 127.0.0.1:%HTTPSPORT
|
|
Pragma: no-cache
|
|
Accept: */*
|
|
|
|
</protocol>
|
|
</verify>
|