1<testcase> 2<info> 3<keywords> 4--config 5</keywords> 6</info> 7 8# 9# Server-side 10<reply> 11<data> 12HTTP/1.1 200 OK 13Content-Length: 6 14Content-Type: text/1 15 16-foo- 17</data> 18</reply> 19 20# 21# Client-side 22<client> 23<file1 name="log/.curlrc"> 24--next 25header = "a: a" 26data = "curlrc read" 27</file1> 28<server> 29http 30</server> 31<setenv> 32XDG_CONFIG_HOME=%PWD/log 33HOME= 34CURL_HOME= 35</setenv> 36<name> 37Verify XDG_CONFIG_HOME use to find .curlrc 38</name> 39<command> 40%HOSTIP:%HTTPPORT/%TESTNUMBER 41</command> 42</client> 43 44# 45# Verify data after the test has been "shot" 46<verify> 47<protocol nonewline="yes"> 48POST /%TESTNUMBER HTTP/1.1 49Host: %HOSTIP:%HTTPPORT 50User-Agent: curl/%VERSION 51Accept: */* 52a: a 53Content-Length: 11 54Content-Type: application/x-www-form-urlencoded 55 56curlrc read 57</protocol> 58</verify> 59</testcase> 60