Open
Description
New Feature / Enhancement Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Current Limitation
The HTTP status codes returned by cloud code in the response's header can not be determined in the cloud functions.
Feature / Enhancement Description
Ability to set the HTTP status code in the response header of a cloud function call.
Example Use Case
Set a 401 status code in the response header when an unauthenticated user tries to access unauthorised data.
Alternatives / Workarounds
Currently we can manually set any information in the response body and mimic the status code functionality by manually parsing and handling the data and logic.
3rd Party References
All backends should have this ability.
Activity
parse-github-assistant commentedon Dec 9, 2024
Thanks for opening this issue!