mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-05-02 17:57:54 +00:00
response: improve no content comment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f124f482a1
commit
b9a7fd54e9
@ -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 = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user