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

Return ReadSeekCloser from compression middleware #184

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

meain
Copy link
Contributor

@meain meain commented Sep 2, 2024

This is necessary as retry logic requires the ability to seek the request body before retrying or the body ends up as empty.

Fixes #183 as long as compression middleware is before retry logic.

This is necessary as retry logic requires the ability to seek the
request body before retrying or the body ends up as empty.
@meain meain requested a review from a team as a code owner September 2, 2024 08:13
Copy link
Member

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @meain

Any chance you could also add a Changelog entry for this at https://github.com/microsoft/kiota-http-go/blob/main/CHANGELOG.md

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!
As Andrew mentioned, can you update the changelog please?
As well as

ProductVersion: "1.4.4",

(bump the patch version, today's date for both)

Lastly, I'll comment on the original issue to clarify something about the order.

@meain
Copy link
Contributor Author

meain commented Sep 3, 2024

@andrueastman @baywet updated changelog and bumped version.

@meain
Copy link
Contributor Author

meain commented Sep 3, 2024

Given the possible ordering issue, do we want to look int that in this PR?

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making the changes!

@baywet baywet merged commit 5beb0cf into microsoft:main Sep 3, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Body not compressed on retry
3 participants