Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Allow dict to be passed to add_headers#233

Merged
thinkingserious merged 1 commit into
sendgrid:mastersendgrid/sendgrid-python:masterfrom
navinpai:issue-230navinpai/sendgrid-python:issue-230Copy head branch name to clipboard
Oct 11, 2016
Merged

Allow dict to be passed to add_headers#233
thinkingserious merged 1 commit into
sendgrid:mastersendgrid/sendgrid-python:masterfrom
navinpai:issue-230navinpai/sendgrid-python:issue-230Copy head branch name to clipboard

Conversation

@navinpai

Copy link
Copy Markdown
Contributor

Currently, mail.add_headers() can only accept an Header object. However,
many people tend to use {"header": "value"} style dictionaries. This adds
support for that use case.

Resolves #230

Currently, mail.add_headers() can only accept an Header object. However,
many people tend to use {"header": "value"} style dictionaries. This adds
support for that use case

Resolves sendgrid#230
@thinkingserious thinkingserious added type: community enhancement feature request not on Twilio's roadmap status: cla signed labels Oct 11, 2016
@thinkingserious

Copy link
Copy Markdown
Contributor

@navinpai,

Could you please fill out this form so we can send you some swag?

Thanks!

@thinkingserious thinkingserious merged commit 2790604 into sendgrid:master Oct 11, 2016
@navinpai

Copy link
Copy Markdown
Contributor Author

Done! Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: community enhancement feature request not on Twilio's roadmap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.