1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6Basic 7</keywords> 8</info> 9 10# 11# Server-side 12<reply> 13<data crlf="yes" nocheck="yes"> 14HTTP/1.1 302 go go go 15Content-Length: 8 16Location: http://%HOSTIP:%HTTPPORT/user/%TESTNUMBER0002 17Content-Type: text/html 18Funny-head: yesyes 19 20notreal 21</data> 22<data2 crlf="yes"> 23HTTP/1.1 200 OK 24Content-Length: 6 25Content-Type: text/html 26Funny-head: yesyes 27 28final 29</data2> 30</reply> 31 32# 33# Client-side 34<client> 35<server> 36http 37</server> 38<name> 39-u with redirect to absolute URL using same origin and auth 40</name> 41<command> 42http://first:secret@%HOSTIP:%HTTPPORT/%TESTNUMBER -L -u smith:doggie 43</command> 44</client> 45 46# 47# Verify data after the test has been "shot" 48<verify> 49<protocol crlf="yes"> 50GET /%TESTNUMBER HTTP/1.1 51Host: %HOSTIP:%HTTPPORT 52Authorization: Basic c21pdGg6ZG9nZ2ll 53User-Agent: curl/%VERSION 54Accept: */* 55 56GET /user/%TESTNUMBER0002 HTTP/1.1 57Host: %HOSTIP:%HTTPPORT 58Authorization: Basic c21pdGg6ZG9nZ2ll 59User-Agent: curl/%VERSION 60Accept: */* 61 62</protocol> 63</verify> 64</testcase> 65