3 ms·
If you don't care about others using your API, then don't do it. If you do, follow the standard which says you SHOULD have a Content-Type if there is a body to
by pionar 6y ago
If you don't care about others using your API, then don't do it. If you do, follow the standard which says you SHOULD have a Content-Type if there is a body to your response.
- Longwelwind 6y agoMy comment was about whether it's worth supporting multiple values for the "Accept" header, not the "Content-Type" header.