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

Add body attribute to request instance #128

Merged
merged 1 commit into from
Jul 8, 2019
Merged

Add body attribute to request instance #128

merged 1 commit into from
Jul 8, 2019

Conversation

andersea
Copy link
Contributor

@andersea andersea commented Jul 4, 2019

Some authentication apis need to access the body of a request, in order to sign it. This patch adds the body attribute and stores the result of _formulate_body in this attribute, so that it will be available during auth generation later.

Some authentication apis need to access the body of a request, in order to sign it. This patch adds the body attribute and stores the result of _formulate_body in this attribute, so that it will be available during auth generation later.
@andersea
Copy link
Contributor Author

andersea commented Jul 4, 2019

See example rest api:

https://www.bitmex.com/app/apiKeysUsage

@theelous3 theelous3 merged commit b6f2bec into theelous3:master Jul 8, 2019
@theelous3
Copy link
Owner

looks good, ty

@andersea andersea deleted the patch-1 branch July 8, 2019 20:11
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.

None yet

2 participants