git.cweiske.de
/
linksys-wrt3g-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore releases dir
[linksys-wrt3g-tools.git]
/
Wrt3g
/
DummyRequest.php
diff --git
a/Wrt3g/DummyRequest.php
b/Wrt3g/DummyRequest.php
index e09973630ab7499b614c4458f78febce3f89fd97..24fa511b2d5d5c810cfd2030ef028e9306da0206 100644
(file)
--- 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',
*/
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
*
*
* @return HTTP_Request2_Response
*