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

rest-gen: Change client to look at the response type when decoding output #86

Open
bergmark opened this issue Nov 12, 2014 · 0 comments

Comments

@bergmark
Copy link
Member

As discussed in #82. The Haskell client currently knows what the output will be based on the accept header it sends + the available output/error types. The JavaScript client just looks at the accept header and if it's json tries to parse the result.

clients should look at the response type instead and act based on that.

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