jbueza/blastmojo — Issue #13: Service Locator cannot post to a non-JSON web service
Author: jbueza
Created: 2011-11-04 02:28:03+00:00
State: open

## Description

Fix the annoying bug when trying to POST to a regular HTML file instead of a JSON web service. Right now, the Service Locator makes a massive assumption that whatever Service objects are in its registry are JSON and only accept application/json.

## Solution
This needs to be handled in "contentType" parameter in the Service Map.

* Should handle all content types
* Should not assume that the service it is talking to is a JSON web service
* Should not break compatibility with current sites powered by Mojo and its Service Locator