xf.li | 6c8fc1e | 2023-08-12 00:11:09 -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/%TESTNUMBER |
| 32 | </command> |
| 33 | </client> |
| 34 | |
| 35 | <verify> |
| 36 | <protocol> |
| 37 | GET /%TESTNUMBER HTTP/1.1
|
| 38 | Host: server-interpreted.example.com
|
| 39 | User-Agent: curl/%VERSION
|
| 40 | Accept: */*
|
| 41 |
|
| 42 | </protocol> |
| 43 | </verify> |
| 44 | </testcase> |