lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | HTTP | ||||
5 | HTTP GET | ||||
6 | unix sockets | ||||
7 | </keywords> | ||||
8 | </info> | ||||
9 | |||||
10 | <reply> | ||||
11 | <data> | ||||
12 | HTTP/1.1 200 OK | ||||
13 | Date: Sun, 16 Nov 2014 23:47:38 GMT | ||||
14 | Content-Length: 17 | ||||
15 | |||||
16 | Based on test300 | ||||
17 | </data> | ||||
18 | </reply> | ||||
19 | |||||
20 | <client> | ||||
21 | <features> | ||||
22 | unix-sockets | ||||
23 | </features> | ||||
24 | <server> | ||||
25 | http-unix | ||||
26 | </server> | ||||
27 | <name> | ||||
28 | simple HTTP GET over Unix socket | ||||
29 | </name> | ||||
30 | <command> | ||||
31 | --unix-socket %HTTPUNIXPATH http://server-interpreted.example.com/1435 | ||||
32 | </command> | ||||
33 | </client> | ||||
34 | |||||
35 | <verify> | ||||
36 | <strip> | ||||
37 | ^User-Agent:.* | ||||
38 | </strip> | ||||
39 | <protocol> | ||||
40 | GET /1435 HTTP/1.1 | ||||
41 | Host: server-interpreted.example.com | ||||
42 | Accept: */* | ||||
43 | |||||
44 | </protocol> | ||||
45 | </verify> | ||||
46 | </testcase> |