When building a RESTful HTTP service, and a Response is given with a 204 No Content (e.g. after the Consumer issues a DELETE Request), what Content-Type should the Response include?
Should it be omitted?
Is there a preferred Content-Type?
Should it be the same Content-Type of a GET Request to the same Resource?
Does it not matter whatsoever?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…