зеркало из https://github.com/mozilla/gecko-dev.git
Debug log the size of PUT/POSTs messages.
--HG-- extra : rebase_source : 67a4e2afd1c908cc9184c0866226a55c77a96292
This commit is contained in:
Родитель
a5ccf09b4f
Коммит
91eaad7a57
|
@ -253,6 +253,7 @@ Resource.prototype = {
|
||||||
// they have payload data.
|
// they have payload data.
|
||||||
if ("PUT" == action || "POST" == action) {
|
if ("PUT" == action || "POST" == action) {
|
||||||
this.filterUpload();
|
this.filterUpload();
|
||||||
|
this._log.debug(action + " Length: " + this._data.length);
|
||||||
this._log.trace(action + " Body: " + this._data);
|
this._log.trace(action + " Body: " + this._data);
|
||||||
|
|
||||||
let type = ('Content-Type' in this._headers)?
|
let type = ('Content-Type' in this._headers)?
|
||||||
|
|
Загрузка…
Ссылка в новой задаче