Skip to content

Conversation

@BatmanAoD
Copy link
Contributor

Note: conserv does not support this yet, so ultimately we'll need to cache a flag somewhere indicating if compression is supported, and set it to false if we get a "compression not supported" response. See https://grpc.github.io/grpc/core/md_doc_compression.html

@github-actions
Copy link

PR Preview Action v1.6.0

🚀 View preview at
https://rigetti.github.io/qcs-sdk-rust/pr-preview/pr-526/

Built to branch qcs-sdk-python-docs at 2025-01-11 01:21 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@Shadow53
Copy link
Contributor

Shadow53 commented Jan 13, 2025

Would it be possible to use content negotiation to determine whether compression is supported? (See also MDN: Compression)

Edit: This is mostly a question of whether tonic supports this to any degree

@BatmanAoD
Copy link
Contributor Author

As far as I can tell, the grpc compression spec I linked above essentially describes a form of content negotiation, using the grpc-accept-encoding header.

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.

3 participants