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

Refactor server responses #882

Open
david-yz-liu opened this issue Sep 18, 2016 · 0 comments
Open

Refactor server responses #882

david-yz-liu opened this issue Sep 18, 2016 · 0 comments

Comments

@david-yz-liu
Copy link
Contributor

Right now the type of response and status code is embedded in the Response files (e.g., look for ok $ toResponse), and repeated across multiple files.

It would be nice to have a cleaner separation between the response creation, and the raw Html type which is used to actually specify the content of the response, leaving the specification of different views (e.g. Graph or Grid) completely separate from the ok $ toResponse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant