tizen 2.3.1 release
[external/curl.git] / tests / data / test1436
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 unix sockets
7 </keywords>
8 </info>
9
10 <reply>
11 <data1>
12 HTTP/1.1 200 OK
13 Date: Mon, 17 Nov 2014 13:42:47 GMT
14 Content-Length: 6
15
16 First
17 </data1>
18 <data2>
19 HTTP/1.1 200 OK
20 Date: Mon, 17 Nov 2014 13:42:48 GMT
21 Content-Length: 7
22
23 Second
24 </data2>
25 <data3>
26 HTTP/1.1 200 OK
27 Date: Mon, 17 Nov 2014 13:42:49 GMT
28 Content-Length: 6
29
30 Third
31 </data3>
32 </reply>
33
34 <client>
35 <features>
36 unix-sockets
37 </features>
38 <server>
39 http-unix
40 </server>
41  <name>
42 HTTP requests with multiple connections over Unix socket
43  </name>
44  <command>
45 --unix-socket %HTTPUNIXPATH http://one.example.com/14360001 http://two.example.com/14360002 http://one.example.com/14360003
46 </command>
47 </client>
48
49 <verify>
50 <strip>
51 ^User-Agent:.*
52 </strip>
53 <protocol>
54 GET /14360001 HTTP/1.1\r
55 Host: one.example.com\r
56 Accept: */*\r
57 \r
58 GET /14360002 HTTP/1.1\r
59 Host: two.example.com\r
60 Accept: */*\r
61 \r
62 GET /14360003 HTTP/1.1\r
63 Host: one.example.com\r
64 Accept: */*\r
65 \r
66 </protocol>
67 <stdout>
68 HTTP/1.1 200 OK
69 Date: Mon, 17 Nov 2014 13:42:47 GMT
70 Content-Length: 6
71
72 First
73 HTTP/1.1 200 OK
74 Date: Mon, 17 Nov 2014 13:42:48 GMT
75 Content-Length: 7
76
77 Second
78 HTTP/1.1 200 OK
79 Date: Mon, 17 Nov 2014 13:42:49 GMT
80 Content-Length: 6
81
82 Third
83 </stdout>
84 </verify>
85 </testcase>