Skip to content
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

Latest version changes behaviour for the base_uri and documentation is not updated #216

Open
michiel-nwa opened this issue May 20, 2021 · 0 comments

Comments

@michiel-nwa
Copy link

The latest version adds a non-backward compatible change to passing the base URI in the constructor.

Documentation says you should pass:

sp = SparkPost('YOUR API KEY', 'https://api.eu.sparkpost.com')

which is also what we are using for over a year. But in 1.3.9 the constructor actually expects it to be:

SparkPost('YOUR API KEY', 'api.eu.sparkpost.com')

as the constructor adds the 'https://' by itself, without backward compatibility check to see if it might have been added already.

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

No branches or pull requests

1 participant