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

Response status is a string. Would like to see it be an Integer like Xojo Web for ease of use. #14

Open
sworteu opened this issue Mar 16, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sworteu
Copy link
Owner

sworteu commented Mar 16, 2024

Currently one needs to define the http status code of the response as a string like "200 OK" or "404 File Not Found" which is impractical and is questionable as it's a probable cause of erros.

Xojo Web has status As integer, which this case would also like to have.
This should be defined in a newer ESResponse class that would also be added to the RequestHandlerDelegate.

See for handler delegate info:
#13

@sworteu sworteu added this to the Express Handler Update milestone Mar 16, 2024
@sworteu sworteu added enhancement New feature or request help wanted Extra attention is needed labels Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant