{HTTP_STATUS_CODE}.411 does not appear to have any callers (at least in the policy-driven framework).
Nor does Nino's HTTP_CONSTANTS.length_required.
Probably WSF_PUT_HANDLER and WSF_POST_HANDLER should have logic to reject a request lacking both a Content-Length header and a Transfer-Encoding header.
Think about it.