dimagi/casexml — pull request #233 by millerdev (2014-07-02 19:46:27+00:00)
Title: Prevent hard to decipher error

There may still be a bug somewhere (possibly on the mobile device?) that is sending an attachment without a mime type header.

It's perfectly valid that `self.server_mime` may be `None` (look about 20 lines below in this file).