зеркало из https://github.com/mozilla/gecko-dev.git
print http status, even for successful requests
This commit is contained in:
Родитель
a4a03dd03a
Коммит
16b50def3e
|
@ -237,7 +237,7 @@ Resource.prototype = {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
} else if (Utils.checkStatus(this._lastRequest.status)) {
|
} else if (Utils.checkStatus(this._lastRequest.status)) {
|
||||||
this._log.debug(action + " request successful");
|
this._log.debug(action + " request successful (" + this._lastRequest.status + ")");
|
||||||
this._dirty = false;
|
this._dirty = false;
|
||||||
|
|
||||||
if ("GET" == action || "POST" == action) {
|
if ("GET" == action || "POST" == action) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче