View Single Post
Posts: 75 | Thanked: 269 times | Joined on Aug 2012
#69
Well it's only errors when the print isn't giving the correct amount of arguments. This is probably because when we find 'Content-Type' field we don't assign the value to the header. Turning off the print should fix that error, or even adding 'self._mmsMessage.headers[header] = value' would fix it. I suggest the former option.

With that said I don't think commenting out the 'Content-Location' check will cause any problems. Mostly because it doesn't look for it when calling 'decodeMessageHeader'.

The notification will happen on push sms only if we failed to fetch. Otherwise it does it after it's downloaded.
 

The Following 3 Users Say Thank You to Ilew For This Useful Post: