Paul Van Eck 5a3984f7e2 Fix functional base request functions
A recent update to pecan made it so that controllers that don't
explicitly return anything now come with a '204 No Content' status.
This breaks one of our functional tests as we try to return the json
content of a response with no content.

This patch makes it so the json content of a response is returned only
if the content_type is 'application/json'.

Change-Id: Icf812eb4feddc88011d215c006ec58a14dae7506
2016-09-23 13:54:23 -07:00
..
2016-08-13 00:27:17 -07:00
2016-05-31 22:04:43 +03:00