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

Add client consideration for labeled-response (batch vs non-batch) #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

awfulcooking
Copy link

it's difficult to know which will be generated for a given request.

It might depend on server configuration, user modes, or in some cases, may change as a result of future extensions.

Clients may therefore prefer to handle all labeled responses as if they were a BATCH, even in the single message case, for robustness and compatibility.

@progval
Copy link
Contributor

progval commented Mar 31, 2022

That's implied by "If a response consists of more than one message, a batch MUST be used to group them into a single logical response"; but I guess it doesn't hurt to say it explicitly here.

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