Add project files.
This commit is contained in:
64
3rd-party/curl-7.52.1/tests/data/test165
vendored
Normal file
64
3rd-party/curl-7.52.1/tests/data/test165
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
HTTP proxy
|
||||
IDN
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake swsclose
|
||||
Content-Type: text/html
|
||||
Funny-head: yesyes
|
||||
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
http
|
||||
</server>
|
||||
<features>
|
||||
idn
|
||||
</features>
|
||||
<setenv>
|
||||
CHARSET=UTF-8
|
||||
LANG=en_US.UTF-8
|
||||
</setenv>
|
||||
<name>
|
||||
HTTP over proxy with IDN host name
|
||||
</name>
|
||||
<command>
|
||||
http://www.åäö.se/page/165 -x %HOSTIP:%HTTPPORT http://www.große.de/page/165
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol>
|
||||
GET http://www.xn--4cab6c.se/page/165 HTTP/1.1
|
||||
Host: www.xn--4cab6c.se
|
||||
Accept: */*
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
GET http://www.xn--groe-xna.de/page/165 HTTP/1.1
|
||||
Host: www.xn--groe-xna.de
|
||||
Accept: */*
|
||||
Proxy-Connection: Keep-Alive
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
Reference in New Issue
Block a user