mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 15:47:41 +00:00
accept len=0 for http requests
This commit is contained in:
parent
d5ae478444
commit
e66d68a923
@ -724,7 +724,7 @@ sub unshift_read_header {
|
||||
|
||||
$reqstate->{log}->{userid} = $auth->{userid};
|
||||
|
||||
if (defined($len)) {
|
||||
if ($len) {
|
||||
|
||||
if (!($method eq 'PUT' || $method eq 'POST')) {
|
||||
$self->error($reqstate, 501, "Unexpected content for method '$method'");
|
||||
|
Loading…
Reference in New Issue
Block a user