RestExpress/RestExpress

Content-Type == "text/plain" erroneously

tfredrich opened this issue · 2 comments

When controller method returns empty string or string for JSON representation, content type is set to "text/plain" instead of "application/json"

Returning (or requesting) a wrapped JSON response seems to work appropriately, setting the content type to "application/json"

Resolved in 0.8.0 master as of 12 Dec 2012.