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 RestInterfaceClient.requestBodyFilter property. #2136

Merged
merged 1 commit into from Mar 31, 2018

Conversation

Projects
None yet
2 participants
@s-ludwig
Member

s-ludwig commented Mar 30, 2018

This can be used to modify outgoing request headers based on the content of the request body.

Add RestInterfaceClient.requestBodyFilter property.
This can be used to modify outgoing request headers based on the content of the request body.
@s-ludwig

This comment has been minimized.

Member

s-ludwig commented Mar 30, 2018

@Extrawurst Didn't really find the time to think about an optimal solution, so I just went with an InputStream.

@Extrawurst

This comment has been minimized.

Contributor

Extrawurst commented Mar 30, 2018

@s-ludwig That is still awesome! Thanks! How about tagging a beta after this is merged? :)

@s-ludwig

This comment has been minimized.

Member

s-ludwig commented Mar 31, 2018

Will do, I'll just make it an alpha for now.

@s-ludwig s-ludwig merged commit 297997a into master Mar 31, 2018

2 of 3 checks passed

codecov/patch 25% of diff hit (target 58.908%)
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@s-ludwig

This comment has been minimized.

Member

s-ludwig commented Mar 31, 2018

0.8.4-alpha.1 is now available.

@s-ludwig s-ludwig deleted the rest_request_body_filter branch Apr 5, 2018

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