Comment 7 for bug 1336729

Revision history for this message
Steve Baker (steve-stevebaker) wrote : Re: [Bug 1336729] Re: Stack Update API doesn't return an useful response.

On 23/07/14 10:30, Zane Bitter wrote:
> The content encoding is determined by the "Accept" header of the
> request, not the "Content-Type". Although we're not actually looking at
> that, I'm not sure how returning no data is better than returning data
> that the caller doesn't have to look at but which can make e.g.
> debugging in a browser easier/possible.
>
I'm not against returning body content if it is actually useful to
someone, I was just saying that returning only a status code is valid REST.