diff -r 2af57effcf41 -r 0713fb089b10 applayerprotocols/httpservice/test/testdata/ini/httpclient.ini --- a/applayerprotocols/httpservice/test/testdata/ini/httpclient.ini Thu Jun 17 12:05:02 2010 +0100 +++ b/applayerprotocols/httpservice/test/testdata/ini/httpclient.ini Thu Jul 22 16:38:27 2010 +0100 @@ -331,6 +331,23 @@ RequestFileName= C:\HttpTest\httpservicetest\testdl2.txt RequestFileNameStore= C:\HttpTest\httpservicetest\testulstore3.txt +[TEST20] +TestCaseName= "HTTP CLIENT API GET17" +Method=GET +Uri= http://127.0.0.1/index19.html +RawRequest= GET /index19.html HTTP/1.1\r\nHost: 127.0.0.1\r\nUser-Agent: HTTP Client API Test\r\n\r\n +RawResponse= HTTP/1.1 401 Authorization Required\r\nContent-Length: 0\r\nWWW-Authenticate: Basic realm=\r\r"Something"\r\n\r\n +RawEncodedAuthenticationRequest= GET /index19.html HTTP/1.1\r\nHost: 127.0.0.1\r\nAuthorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=\r\nUser-Agent: HTTP Client API Test\r\n\r\n +RawFinalResponse= HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\nContent-Length: 0\r\n\r\n +StatusCode= 200 +ResponseFieldCount= 2 +ResponseHeader1= Content-Length +ResponseHeader1ValueCount= 1 +ResponseHeader1.Value1= 0 +ResponseHeader2= Content-Type +ResponseHeader2ValueCount= 1 +ResponseHeader2.Value1= text/plain +SetAuthentication= ETrue [#Done]