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 f124f482a1
commit b9a7fd54e9

View File

@ -297,7 +297,7 @@ sub response {
my $content = $resp->content; my $content = $resp->content;
if ($code =~ /^(1\d\d|[23]04)$/) { 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 = ""; $content = "";
} }