]> git.proxmox.com Git - pve-http-server.git/commitdiff
response: improve no content comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 1 Jul 2022 08:14:31 +0000 (10:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 1 Jul 2022 08:14:31 +0000 (10:14 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/APIServer/AnyEvent.pm

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