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

Update docs to add encoding header to be excluded #489

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

Chaho12
Copy link
Member

@Chaho12 Chaho12 commented Sep 27, 2024

Description

When decoding JSON response using io.airlift.http.client#createJsonResponseHandler at external routing group selector code,
JSON response could be compressed in GZIP (or whatever format) depending on the network configuration.

This is not expecected behaviour by Airlift as it read bytes.

So, I suggest adding 'Accept-Encoding' to docs so that user can know they might need to exclude it when making API request to server.

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

* 

docs/routing-rules.md Outdated Show resolved Hide resolved
@ebyhr
Copy link
Member

ebyhr commented Oct 1, 2024

@mosabua Gentle reminder.

Copy link
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

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

This is good to go.

@mosabua mosabua merged commit 60a3e27 into trinodb:main Oct 1, 2024
1 check passed
@github-actions github-actions bot added this to the 12 milestone Oct 1, 2024
@Chaho12 Chaho12 deleted the feature/add-default-header branch October 2, 2024 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants