Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey there,
I made some changes to your library to make ETrade work. The primary change is adding a parameter to add additional key/value pairs when getting an HTTP header, but I also changed it so that URL encoding is done for Authorization headers as well as query URLs.
If you know of a case where Authorization headers should definitely NOT be URL encoded, you may wish to make this a parameter instead of accepting my change as-is. However, the only way to make ETrade work was by flipping that boolean, so it should definitely be an option.
This is a very useful library. Thanks for writing it, and have a nice day.