-
Notifications
You must be signed in to change notification settings - Fork 222
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
CompressionHandler enhancements #598
Comments
Adding to this, it'd be nice if the next version of this middleware could support:
|
Update: most clients we're using today support automatic decompression. Some need to be configured to handle it. I have updated the state of things in the spec microsoftgraph/msgraph-sdk-design#97. |
update: created the issues for the request compression handler. |
When adding support for compression, would it be possible not to include it as part of the default middleware? The TypeScript release, for example, broke several of my clients. I would like to avoid the same disruption in other clients. |
(let's keep the conversation going on the typescript pull request since we didn't run into any issues for other languages) |
It may also occur in other languages. The implementation of compression would cause requests to servers that do not support gzip-compressed requests to fail. (And isn't that a breaking change?) What is the reasoning behind making it the default enabled? |
The current compression handler for Microsoft graph is outlined in the spec at the link below
https://github.com/microsoftgraph/msgraph-sdk-design/blob/master/middleware/CompressionHandler.md
This has two possible issues/notes
gzip
but other compression methods may be used by other APIs( e.g.deflate
andbrotli
)AB#11068
The text was updated successfully, but these errors were encountered: