mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-07-12 19:49:59 +00:00
response: improve no content comment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
eff0454e69
commit
be2215c4c2
@ -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 = "";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user