{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments/31471478","id":31471478,"diff_hunk":"@@ -111,12 +111,16 @@\n       - The character set of email being sent\n     default: 'us-ascii'\n     required: false\n+  subtype:","path":"notification/mail.py","position":4,"original_position":4,"commit_id":"e7bc03d04fb383c28e04d2ee7788dccbc154918d","original_commit_id":"e7bc03d04fb383c28e04d2ee7788dccbc154918d","user":{"login":"dagwieers","id":388198,"avatar_url":"https://avatars.githubusercontent.com/u/388198?v=3","gravatar_id":"","url":"https://api.github.com/users/dagwieers","html_url":"https://github.com/dagwieers","followers_url":"https://api.github.com/users/dagwieers/followers","following_url":"https://api.github.com/users/dagwieers/following{/other_user}","gists_url":"https://api.github.com/users/dagwieers/gists{/gist_id}","starred_url":"https://api.github.com/users/dagwieers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagwieers/subscriptions","organizations_url":"https://api.github.com/users/dagwieers/orgs","repos_url":"https://api.github.com/users/dagwieers/repos","events_url":"https://api.github.com/users/dagwieers/events{/privacy}","received_events_url":"https://api.github.com/users/dagwieers/received_events","type":"User","site_admin":false},"body":"Well, it is not really a mimetype you have to provide, maybe mimesubtype would be preferable ?\r\nI prefer subtype over mimetype (as it is more correct), cfr. https://docs.python.org/2/library/mimetypes.html\r\n\r\nWhatever the decision is, I support this change. +1","created_at":"2015-06-01T21:18:01Z","updated_at":"2015-06-01T21:18:01Z","html_url":"https://github.com/ansible/ansible-modules-extras/pull/414#discussion_r31471478","pull_request_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/414","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments/31471478"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/414#discussion_r31471478"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/414"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/414","id":33757644,"html_url":"https://github.com/ansible/ansible-modules-extras/pull/414","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/414.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/414.patch","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/414","number":414,"state":"open","locked":false,"title":"Update mail.py to allow html content","user":{"login":"adematte","id":5064637,"avatar_url":"https://avatars.githubusercontent.com/u/5064637?v=3","gravatar_id":"","url":"https://api.github.com/users/adematte","html_url":"https://github.com/adematte","followers_url":"https://api.github.com/users/adematte/followers","following_url":"https://api.github.com/users/adematte/following{/other_user}","gists_url":"https://api.github.com/users/adematte/gists{/gist_id}","starred_url":"https://api.github.com/users/adematte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adematte/subscriptions","organizations_url":"https://api.github.com/users/adematte/orgs","repos_url":"https://api.github.com/users/adematte/repos","events_url":"https://api.github.com/users/adematte/events{/privacy}","received_events_url":"https://api.github.com/users/adematte/received_events","type":"User","site_admin":false},"body":"Adding parameter subtype to allow html based content. The default behavior of text/plain has been preserved.","created_at":"2015-04-21T12:51:21Z","updated_at":"2015-06-01T21:18:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a19570105d8dd19562445770c976b87a01bed3f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/414/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/414/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/414/comments","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/e7bc03d04fb383c28e04d2ee7788dccbc154918d","head":{"label":"adematte:patch-2","ref":"patch-2","sha":"e7bc03d04fb383c28e04d2ee7788dccbc154918d","user":{"login":"adematte","id":5064637,"avatar_url":"https://avatars.githubusercontent.com/u/5064637?v=3","gravatar_id":"","url":"https://api.github.com/users/adematte","html_url":"https://github.com/adematte","followers_url":"https://api.github.com/users/adematte/followers","following_url":"https://api.github.com/users/adematte/following{/other_user}","gists_url":"https://api.github.com/users/adematte/gists{/gist_id}","starred_url":"https://api.github.com/users/adematte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adematte/subscriptions","organizations_url":"https://api.github.com/users/adematte/orgs","repos_url":"https://api.github.com/users/adematte/repos","events_url":"https://api.github.com/users/adematte/events{/privacy}","received_events_url":"https://api.github.com/users/adematte/received_events","type":"User","site_admin":false},"repo":{"id":31254875,"name":"ansible-modules-extras","full_name":"adematte/ansible-modules-extras","owner":{"login":"adematte","id":5064637,"avatar_url":"https://avatars.githubusercontent.com/u/5064637?v=3","gravatar_id":"","url":"https://api.github.com/users/adematte","html_url":"https://github.com/adematte","followers_url":"https://api.github.com/users/adematte/followers","following_url":"https://api.github.com/users/adematte/following{/other_user}","gists_url":"https://api.github.com/users/adematte/gists{/gist_id}","starred_url":"https://api.github.com/users/adematte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adematte/subscriptions","organizations_url":"https://api.github.com/users/adematte/orgs","repos_url":"https://api.github.com/users/adematte/repos","events_url":"https://api.github.com/users/adematte/events{/privacy}","received_events_url":"https://api.github.com/users/adematte/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adematte/ansible-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":true,"url":"https://api.github.com/repos/adematte/ansible-modules-extras","forks_url":"https://api.github.com/repos/adematte/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/adematte/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adematte/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adematte/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/adematte/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/adematte/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/adematte/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/adematte/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/adematte/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/adematte/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/adematte/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adematte/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adematte/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/adematte/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adematte/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/adematte/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/adematte/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/adematte/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/adematte/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/adematte/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/adematte/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/adematte/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/adematte/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/adematte/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/adematte/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/adematte/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adematte/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/adematte/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adematte/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/adematte/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/adematte/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/adematte/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/adematte/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adematte/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/adematte/ansible-modules-extras/releases{/id}","created_at":"2015-02-24T10:23:28Z","updated_at":"2015-02-24T10:23:29Z","pushed_at":"2015-04-21T12:48:45Z","git_url":"git://github.com/adematte/ansible-modules-extras.git","ssh_url":"git@github.com:adematte/ansible-modules-extras.git","clone_url":"https://github.com/adematte/ansible-modules-extras.git","svn_url":"https://github.com/adematte/ansible-modules-extras","homepage":"","size":5923,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"2c2a106321d775e06ec0aaa1f6519e88f12a2746","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":24474138,"name":"ansible-modules-extras","full_name":"ansible/ansible-modules-extras","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":false,"url":"https://api.github.com/repos/ansible/ansible-modules-extras","forks_url":"https://api.github.com/repos/ansible/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/ansible/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/ansible/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/ansible/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/ansible/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible-modules-extras/releases{/id}","created_at":"2014-09-25T20:28:42Z","updated_at":"2015-06-01T20:04:59Z","pushed_at":"2015-06-01T21:15:58Z","git_url":"git://github.com/ansible/ansible-modules-extras.git","ssh_url":"git@github.com:ansible/ansible-modules-extras.git","clone_url":"https://github.com/ansible/ansible-modules-extras.git","svn_url":"https://github.com/ansible/ansible-modules-extras","homepage":"","size":24065,"stargazers_count":220,"watchers_count":220,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":469,"mirror_url":null,"open_issues_count":196,"forks":469,"open_issues":196,"watchers":220,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/414"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/414"},"issue":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/414"},"comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/414/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/414/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/e7bc03d04fb383c28e04d2ee7788dccbc154918d"}}}}