• 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/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>
54GET /14360001 HTTP/1.1
55Host: one.example.com
56Accept: */*
57
58GET /14360002 HTTP/1.1
59Host: two.example.com
60Accept: */*
61
62GET /14360003 HTTP/1.1
63Host: one.example.com
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