Closed
Description
It would be more appropriate if Robyn provides status codes instead of hard coding them?
I create a branch with "status.py" file in it, it is a copy/paste of Starlette HTTP status code.
Current Behavior
Hard coding the status code like:
return {
"status_code": 200,
"body": "some body",
"type": "text",
}
Desired Behavior
Robyn providing status codes like:
return {
"status_code": status.HTTP_200_OK,
"body": "Some body",
"type": "text",
}