projects
/
platform
/
upstream
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Revert "Imported Upstream version 7.44.0"
[platform/upstream/curl.git]
/
tests
/
data
/
test1121
1
<testcase>
2
<info>
3
<keywords>
4
HTTP
5
</keywords>
6
</info>
7
#
8
# Server-side
9
<reply>
10
<data>
11
HTTP/1.0 200 OK
\r
12
Server: test-server/fake
\r
13
Content-Type: text/html
\r
14
Content-Length: 6
\r
15
\r
16
blaha
17
</data>
18
</reply>
19
20
#
21
# Client-side
22
<client>
23
<server>
24
http
25
</server>
26
<name>
27
HTTP multiple provided Host: headers
28
</name>
29
<command>
30
-H "Host: host1" -H "Host: host2" -H "Host: host3" http://%HOSTIP:%HTTPPORT/1121
31
</command>
32
</client>
33
34
#
35
# Verify data after the test has been "shot"
36
<verify>
37
<strip>
38
^User-Agent:.*
39
</strip>
40
<protocol>
41
GET /1121 HTTP/1.1
\r
42
Accept: */*
\r
43
Host: host1
\r
44
Host: host2
\r
45
Host: host3
\r
46
\r
47
</protocol>
48
</verify>
49
</testcase>