-
Notifications
You must be signed in to change notification settings - Fork 1
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
ft: add missing response fields #12
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for hopeful-euclid-1adea1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
docs/ambiorix/07-response.md
Outdated
|
||
```r | ||
app$get("/error", \(req, res){ | ||
res$status(500) | ||
res$set_status(500L) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could change that to the setter?
res$status <- 500
I find it more readable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yes, agreed.
i'm actually discovering that now :/
Thanks for this! |
closes #11