Expected JSON response in RequestMgr #318

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@piuccio
Contributor

piuccio commented Jan 8, 2013

All request handler wipe out the failure response from the server. This prevents REST applications.
Moreover, using JSON the expected response should contain JSON also in case of errors.

This commit fixes #304

In case of error the Request Manager returns now a response object just like the success use case.

Fabio Crisci
fix #304 expected JSON response in RequestMgr
All request handler wipe out the failure response from the server. This prevents REST applications.
Moreover, using JSON the expected response should contain JSON also in case of errors.
@divdavem

This comment has been minimized.

Show comment Hide comment
@divdavem

divdavem Jan 9, 2013

Member

Integrated in e2699f4

Member

divdavem commented Jan 9, 2013

Integrated in e2699f4

@divdavem divdavem closed this Jan 9, 2013

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