1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP Basic 6CURLOPT_FOLLOWLOCATION 7</keywords> 8</info> 9 10# Server-side 11<reply> 12<data nocheck="yes"> 13HTTP/1.1 302 OK 14Date: Tue, 09 Nov 2010 14:49:00 GMT 15Server: test-server/fake 16Content-Type: text/html 17Content-Length: 0 18Location: /%TESTNUMBER0002 19 20</data> 21<data2> 22HTTP/1.1 200 OK 23Date: Tue, 09 Nov 2010 14:49:00 GMT 24Server: test-server/fake 25Content-Type: text/html 26Content-Length: 4 27 28hej 29</data2> 30</reply> 31 32# Client-side 33<client> 34<server> 35http 36</server> 37 38<name> 39HTTP credentials with newline and redirect 40</name> 41<tool> 42lib%TESTNUMBER 43</tool> 44 45<command> 46%HOSTIP:%HTTPPORT/%TESTNUMBER 47</command> 48</client> 49 50# Verify data after the test has been "shot" 51<verify> 52<protocol> 53GET /%TESTNUMBER HTTP/1.1 54Host: %HOSTIP:%HTTPPORT 55Authorization: Basic dXNlcgpuYW1lOnBhc3MKd29yZA== 56Accept: */* 57 58GET /%TESTNUMBER0002 HTTP/1.1 59Host: %HOSTIP:%HTTPPORT 60Authorization: Basic dXNlcgpuYW1lOnBhc3MKd29yZA== 61Accept: */* 62 63</protocol> 64</verify> 65</testcase> 66