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

feat: compress support #156

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Conversation

xkx9431
Copy link

@xkx9431 xkx9431 commented Jan 11, 2025

Description

this PR is adding the compression support.

Changes

  1. add enum for compression method and content type
  2. add apply logic for modifying the http header before REST call, and process the response body according the http header config
  3. related tests

Validation

image

TodoList

  1. How should the changes for configuration be rolled out? For example, deprecate isGzipEnabled.

@xkx9431 xkx9431 changed the title @WIP feat(compress): add compress support for query response feat(compress): add compress support for query response Jan 11, 2025
@xkx9431 xkx9431 changed the title feat(compress): add compress support for query response @WIP feat(compress): add compress support for query response Jan 11, 2025
@xkx9431 xkx9431 changed the title @WIP feat(compress): add compress support for query response feat(compress): add compress support Jan 13, 2025
@xkx9431 xkx9431 changed the title feat(compress): add compress support feat: add compress support Jan 16, 2025
Signed-off-by: kaixuan xu <[email protected]>
Signed-off-by: kaixuan xu <[email protected]>
@xkx9431 xkx9431 changed the title feat: add compress support feat: compress support Jan 18, 2025
Signed-off-by: kaixuan xu <[email protected]>
@xkx9431 xkx9431 changed the title feat: compress support feat: compress support Jan 18, 2025
Signed-off-by: kaixuan xu <[email protected]>
Signed-off-by: kaixuan xu <[email protected]>
Signed-off-by: kaixuan xu <[email protected]>
Signed-off-by: kaixuan xu <[email protected]>
@xkx9431 xkx9431 changed the title feat: compress support @WIP feat: compress support Jan 18, 2025
Signed-off-by: kaixuan xu <[email protected]>
@xkx9431 xkx9431 changed the title @WIP feat: compress support feat: compress support Jan 19, 2025
@xkx9431
Copy link
Author

xkx9431 commented Jan 19, 2025

@weiping-code @hezhangjian Please help review first.

"The tests pass consistently when configuring a single element in clientList. However, they fail randomly when using a List of clients for ParameterizedTest." Is there anything else you can help with?

@xiangyu5632
Copy link
Member

Does the server need to be configured to support data compression on the client? @xkx9431
As a result, your test cases fail.

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.

2 participants