X-Git-Url: https://git.cweiske.de/linksys-wrt3g-tools.git/blobdiff_plain/0c29f7e44d8b766f944b086642a38526cf38c182..HEAD:/Wrt3g/DummyRequest.php diff --git a/Wrt3g/DummyRequest.php b/Wrt3g/DummyRequest.php index e099736..24fa511 100644 --- a/Wrt3g/DummyRequest.php +++ b/Wrt3g/DummyRequest.php @@ -11,7 +11,8 @@ class Wrt3g_DummyRequest extends HTTP_Request2 */ public static $mapping = array( '/Status_NoAuth.asp' => 'tests/status_noauth-connected.htm', - '/index_wstatus1.asp' => 'tests/index_wstatus1-connected-excellent.htm' + '/index_wstatus1.asp' => 'tests/index_wstatus1-connected-excellent.htm', + '/index_wstatus2.asp' => 'tests/index_wstatus2-connected.htm' ); @@ -33,7 +34,10 @@ class Wrt3g_DummyRequest extends HTTP_Request2 /** - * Sends the request and returns the response + * Sends the request and returns the response. + * When the host is three-letter numeric string, it + * is used as HTTP response status code. No "proper" content + * is returned in that case. * * @return HTTP_Request2_Response *