1<testcase> 2<info> 3<keywords> 4HTTP 5HSTS 6CURLOPT_HSTSREADFUNCTION 7</keywords> 8</info> 9 10# Server-side 11<reply> 12</reply> 13 14# Client-side 15<client> 16<features> 17HSTS 18http 19</features> 20<server> 21none 22</server> 23 24# require debug so that alt-svc can work over plain old HTTP 25<name> 26HSTS read/write callbacks 27</name> 28<tool> 29lib%TESTNUMBER 30</tool> 31 32<command> 33http://%HOSTIP:%NOLISTENPORT/not-there/%TESTNUMBER 34</command> 35</client> 36 37# Verify data after the test has been "shot" 38<verify> 39# it fails because there's nothing on that port 40<errorcode> 417 42</errorcode> 43<stdout> 44[0/4] 1.example.com 20300320 01:02:03 45[1/4] 2.example.com 20300320 01:02:03 46[2/4] 3.example.com 20300320 01:02:03 47[3/4] 4.example.com 20300320 01:02:03 48</stdout> 49</verify> 50</testcase> 51