Skip to content

CLI accepts gzipped responses#1434

Draft
david-crespo wants to merge 1 commit intomainfrom
cli-gzip-support
Draft

CLI accepts gzipped responses#1434
david-crespo wants to merge 1 commit intomainfrom
cli-gzip-support

Conversation

@david-crespo
Copy link
Copy Markdown
Contributor

@david-crespo david-crespo commented Apr 29, 2026

Goes with oxidecomputer/omicron#10341. Let the CLI tell the API it wants gzipped responses. Turns out all we have to do is turn on the gzip feature in reqwest:

If the gzip feature is turned on, the default option is enabled.

https://docs.rs/reqwest/0.13.2/reqwest/struct.ClientBuilder.html#method.gzip

The source confirms this reading of that line in the docs.

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.

1 participant