-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
guess attachment mimetype in Django email backend if not provided
* add test that demonstrates missing mimetype issue * guess mimetype using python mimetypes lib if omitted * add test with unguessable file type * add fallback mimetype that django uses (application/octet-stream)
- Loading branch information
1 parent
dc2cdd4
commit 05409ed
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters