rackspace/reddwarf — pull request #428 by sacharya (2012-03-22 19:27:22+00:00)
Title: Fix to return HTTP 202 header only for Accepted requests.

Calls that return 202 HttpAccepted responses were returning responses with content-type "text/html" and body "202 Accepted. The request is accepted for processing." Empty body should be fine for HTTP 202 Status.

However, even though I set the Accept header for the request to application/json, it is returning Content-type as text/html. For empty response body, it probably isn't a big deal, but it would be nice to reflect the actual content-type though.