Skip to content

Encode unicode object file attachment names to Python str objects#89

Merged
elbuo8 merged 1 commit intosendgrid:masterfrom
cbg:attachment_name_encoding
Oct 15, 2014
Merged

Encode unicode object file attachment names to Python str objects#89
elbuo8 merged 1 commit intosendgrid:masterfrom
cbg:attachment_name_encoding

Conversation

@cbg
Copy link
Copy Markdown
Contributor

@cbg cbg commented Oct 15, 2014

Currently, the method sendgrid.message.Mail.add_attachment_stream encodes unicode object filenames to Python str objects. However, the method sendgrid.message.Mail.add_attachment does not do the same encoding. This commit fixes that.

Currently, the method sendgrid.message.Mail.add_attachment_stream encodes unicode object filenames to Python str objects. However, the method sendgrid.message.Mail.add_attachment does not do the same encoding. This commit fixes that.
elbuo8 pushed a commit that referenced this pull request Oct 15, 2014
Encode unicode object file attachment names to Python str objects
@elbuo8 elbuo8 merged commit 83853be into sendgrid:master Oct 15, 2014
@elbuo8
Copy link
Copy Markdown
Contributor

elbuo8 commented Oct 15, 2014

Thanks for contributing to SendGrid Open Source! We think it's awesome when community members contribute to our projects and want to celebrate that.

The following link will ask you to authenticate with Github (so we can verify your identity), it will then ask for a little bit more information and we'll then send you a thanks for contributing.

Click Here to Continue »

Once again, thank you!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants