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

Enhance ringo/jsgi/response #208

Closed
botic opened this issue Jan 22, 2013 · 0 comments
Closed

Enhance ringo/jsgi/response #208

botic opened this issue Jan 22, 2013 · 0 comments
Milestone

Comments

@botic
Copy link
Member

botic commented Jan 22, 2013

At the moment you can only respond with a 200 status code, which leads to custom helper functions in applications like rpr: https://github.com/grob/rpr/blob/master/app/utils/response.js

Possible enhancment:

  • provide a second argument with the HTTP status code
  • add text(str, status) to generate a text/plain response
  • add notModified()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant