Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Don't ignore return value of resource post function #3

Closed
tmciver opened this Issue Jan 29, 2013 · 1 comment

Comments

Projects
None yet
1 participant
Owner

tmciver commented Jan 29, 2013

Currently the return value of the resource post function is being ignored. This prevents the post function developer from returning a response on error or otherwise. Determine if return value of post is a response (perhaps by checking if it is a map that contains the :status keyword) and return it if it is.

Owner

tmciver commented Jan 29, 2013

Fixed. A check is now made to see if the return value of the post function is a response. It is returned if it is, otherwise the normal check for a redirect is made.

@tmciver tmciver closed this Jan 29, 2013

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