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