Bug 883019 - B2G MMS: Remove content length from all part headers. r=vyang
authorChia-hung Tai <ctai@mozilla.com>
Wed, 03 Jul 2013 10:37:39 +0800
changeset 144787 1e8dda00db4031554f2c58fafbde2c41ae482a83
parent 144786 f0a3fca0967452c8229e11498e4a589fcf18b214
child 144788 a9c67374e7c78231c2da62f704a842f244335543
push idunknown
push userunknown
push dateunknown
reviewersvyang
bugs883019
milestone25.0a1
Bug 883019 - B2G MMS: Remove content length from all part headers. r=vyang
dom/mobilemessage/src/ril/MmsService.js
--- a/dom/mobilemessage/src/ril/MmsService.js
+++ b/dom/mobilemessage/src/ril/MmsService.js
@@ -1621,17 +1621,16 @@ MmsService.prototype = {
         }
 
         let part = {
           "headers": {
             "content-type": {
               "media": content.type,
               "params": params
             },
-            "content-length": content.size,
             "content-location": location,
             "content-id": attachment.id
           },
           "content": content
         };
         parts.push(part);
       }
     }