Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added headers manually to override error #791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 9, 2017
Merged

Added headers manually to override error #791

merged 3 commits into from
Feb 9, 2017

Conversation

damo-da
Copy link

@damo-da damo-da commented Feb 9, 2017

I was getting the following issue:
RuntimeError: Mailgun API error: 400 b'{\n "message": "\'from\' parameter is missing"\n}',

Providing custom header for Content-Type was the solution.

I was getting the following issue: 
`RuntimeError: Mailgun API error: 400 b'{\n  "message": "\'from\' parameter is missing"\n}'`,

Providing custom header for `Content-Type` was the solution.
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@googlebot googlebot added the cla: no This human has *not* signed the Contributor License Agreement. label Feb 9, 2017
@damo-da
Copy link
Author

damo-da commented Feb 9, 2017

I signed it!

@googlebot
Copy link

CLAs look good, thanks!

@googlebot googlebot added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Feb 9, 2017
@theacodes
Copy link
Contributor

@underscoredam this looks good, but the lines are now too long. Can you break them up so they're under 80 characters?

Damodar Dahal and others added 2 commits February 9, 2017 12:07
@theacodes theacodes merged commit 7953f20 into GoogleCloudPlatform:master Feb 9, 2017
@damo-da
Copy link
Author

damo-da commented Feb 9, 2017

Thanks @jonparrott !

@theacodes
Copy link
Contributor

@underscoredam no, thank you! 👍

@damo-da damo-da deleted the patch-1 branch February 9, 2017 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants