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 support to respond StatusCodeResponse type using http:Caller #2853

Closed
TharmiganK opened this issue Apr 21, 2022 · 0 comments · Fixed by ballerina-platform/module-ballerina-http#995
Assignees
Labels
module/http Points/1.5 Team/PCM Protocol connector packages related issues Type/Task

Comments

@TharmiganK
Copy link
Contributor

TharmiganK commented Apr 21, 2022

Description:

With this improvement in http:Caller, we have allowed caller to respond error types and there is no reason for not allowing StatusCodeResponse types in respond. Hence, by adding this support, respond method will become consistent with the return call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/http Points/1.5 Team/PCM Protocol connector packages related issues Type/Task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant