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

[v4] Limit available response protocols based on operation type #2677

Closed
Tracked by #2700 ...
n1ru4l opened this issue Apr 13, 2023 · 0 comments · Fixed by #2810
Closed
Tracked by #2700 ...

[v4] Limit available response protocols based on operation type #2677

n1ru4l opened this issue Apr 13, 2023 · 0 comments · Fixed by #2810
Assignees

Comments

@n1ru4l
Copy link
Collaborator

n1ru4l commented Apr 13, 2023

Is your feature request related to a problem? Please describe.

const defaultList = [sse, multipart, regular]
const subscriptionList = [multipart, sse, regular]

I have the feeling that we are a bit too loose here.

Describe the solution you'd like

If you are executing a subscription operation, the list should be:

const subscriptionList = [sse] 

And for non-subscription operations, it should probably be

const defaultList = [multipart, regular] 

Describe alternatives you've considered

Additional context

@ardatan ardatan changed the title Limit available response protocols based on operation type [v4] Limit available response protocols based on operation type Apr 13, 2023
@n1ru4l n1ru4l self-assigned this May 29, 2023
This was referenced May 7, 2024
This was referenced May 23, 2024
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 a pull request may close this issue.

1 participant