response: improve no content comment

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-07-01 10:14:31 +02:00
parent eff0454e69
commit be2215c4c2

View File

@ -292,7 +292,7 @@ sub response {
my $content = $resp->content;
if ($code =~ /^(1\d\d|[23]04)$/) {
# make sure content we have no content
# make sure informational, no content and not modified response send no content
$content = "";
}