Skip to content

Switch to CBOR as default packing mode #216

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

Merged
merged 2 commits into from
Mar 11, 2020

Conversation

bpintea
Copy link
Collaborator

@bpintea bpintea commented Mar 10, 2020

This PR switches the default packing mode from JSON to CBOR.

It also always adds the "binary_encoding" boolean field to the REST requests,
which is how the server decides what to answer with (the ES/SQL plugin
overrides the Accept HTTP header).

This commit switches the default packing mode from JSON to CBOR.

It also always adds the "binary_encoding" field to the REST requests,
which is how the server decides what to answer with (the ES/SQL plugin
overrides the Accept HTTP header).
Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

LGTM

@bpintea bpintea merged commit c6639ab into elastic:master Mar 11, 2020
@bpintea bpintea deleted the enh/pack_default_cbor branch March 11, 2020 19:29
bpintea added a commit that referenced this pull request Mar 17, 2020
This commit switches the default packing mode from JSON to CBOR.

It also always adds the "binary_encoding" field to the REST requests,
which is how the server decides what to answer with (the ES/SQL plugin
overrides the Accept HTTP header).

(cherry picked from commit c6639ab)
bpintea added a commit that referenced this pull request Mar 17, 2020
This commit switches the default packing mode from JSON to CBOR.

It also always adds the "binary_encoding" field to the REST requests,
which is how the server decides what to answer with (the ES/SQL plugin
overrides the Accept HTTP header).

(cherry picked from commit c6639ab)
@bpintea bpintea mentioned this pull request Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants