Re:I've been abusing HTTP Status Codes in my APIs for years
by revscat on Wednesday July 13, 2022 @04:49PM
(#32088570)
The spec may say one thing in this context, but that is only guidance. Technically, the response header says nothing about the body: they are entirely separate things. You can have any response code, and a body may or may not be present, regardless of the spec.
So yes, it is correct to say that response codes say nothing about the body.
So yes, it is correct to say that response codes say nothing about the body.