Debug log the size of PUT/POSTs messages.

--HG--
extra : rebase_source : 67a4e2afd1c908cc9184c0866226a55c77a96292
This commit is contained in:
Edward Lee 2009-07-14 13:59:46 -07:00
Родитель a5ccf09b4f
Коммит 91eaad7a57
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -253,6 +253,7 @@ Resource.prototype = {
// they have payload data.
if ("PUT" == action || "POST" == action) {
this.filterUpload();
this._log.debug(action + " Length: " + this._data.length);
this._log.trace(action + " Body: " + this._data);
let type = ('Content-Type' in this._headers)?