1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6Alt-Svc 7trailing-dot 8</keywords> 9</info> 10 11# 12# Server-side 13<reply> 14<data> 15HTTP/1.1 200 OK 16Date: Tue, 09 Nov 2010 14:49:00 GMT 17Content-Length: 6 18Connection: close 19Content-Type: text/html 20Funny-head: yesyes 21 22-foo- 23</data> 24</reply> 25 26# 27# Client-side 28<client> 29<features> 30alt-svc 31Debug 32</features> 33<server> 34http 35</server> 36<name> 37alt-svc using host name with trailing dot in URL 38</name> 39<setenv> 40# make debug-curl accept Alt-Svc over plain HTTP 41CURL_ALTSVC_HTTP="yeah" 42</setenv> 43<command> 44--alt-svc "%LOGDIR/altsvc-%TESTNUMBER" "http://whohoo.:12345/%TESTNUMBER" 45</command> 46<file name="%LOGDIR/altsvc-%TESTNUMBER"> 47h1 whohoo 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0 48</file> 49 50</client> 51 52# 53# Verify data after the test has been "shot" 54<verify> 55<protocol> 56GET /%TESTNUMBER HTTP/1.1 57Host: whohoo.:12345 58User-Agent: curl/%VERSION 59Accept: */* 60Alt-Used: %HOSTIP:%HTTPPORT 61 62</protocol> 63</verify> 64</testcase> 65