1<testcase> 2<info> 3<keywords> 4HTTP 5</keywords> 6</info> 7# 8# This reproduces issue #3340 9# 10# Server-side 11<reply> 12<data nocheck="yes"> 13HTTP/1.1 302 redirect to broken URL 14Date: Thu, 17 Mar 2016 14:41:00 GMT 15Server: test-server/fake 16Content-Type: text/plain; charset=US-ASCII 17X-Special: swsclose 18Location: h ttp://1.2.4.5/test 19Content-Length: 0 20Connection: close 21 22</data> 23</reply> 24 25# Client-side 26<client> 27<server> 28http 29</server> 30# tool is what to use instead of 'curl' 31<tool> 32lib1518 33</tool> 34 35<name> 36Extract Location: with broken absolute URL 37</name> 38<command> 39http://%HOSTIP:%HTTPPORT/%TESTNUMBER 40</command> 41</client> 42 43# 44# Verify data after the test has been "shot" 45<verify> 46<strippart> 47 48</strippart> 49<protocol> 50</protocol> 51<stdout> 52res 0 53status 302 54redirects 0 55effectiveurl http://%HOSTIP:%HTTPPORT/%TESTNUMBER 56redirecturl http://%HOSTIP:%HTTPPORT/h%20ttp://1.2.4.5/test 57</stdout> 58<errorcode> 590 60</errorcode> 61</verify> 62</testcase> 63