summaryrefslogtreecommitdiff
path: root/modules/unit_test
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-08-09 22:54:57 -0700
committerBharat Mediratta <bharat@menalto.com>2010-08-09 22:54:57 -0700
commit3c18762fda9a91717b5defc300ace6bda61eb233 (patch)
tree6d74ed42bead656d7cad1f3036a74dbe8800278d /modules/unit_test
parentf0d8aef0ead373f310c59c665f8973264815e784 (diff)
Change the way that this works. Now instead of sending back the image
metadata and the data itself JSON encoded, we just send back the raw data with the right Content-Type. This, combined with code in Item_Model::as_restful_array() that swaps in /rest/data urls as appropriate, means that the RESTful payload has consistent urls when permissions are in play.
Diffstat (limited to 'modules/unit_test')
0 files changed, 0 insertions, 0 deletions