918fde82f8
Motivation: Issue #6695 states that there is an issue when writing empty content via HttpResponseEncoder. Modifications: Add two test-cases. Result: Verified that all works as expected.