mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
01_FHEMWEB.pm: add warning on HTTP 405
git-svn-id: https://svn.fhem.de/fhem/trunk@13227 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7fb5138127
commit
9f88c470ba
@ -429,6 +429,8 @@ FW_Read($$)
|
|||||||
"Content-Length: 0\r\n\r\n");
|
"Content-Length: 0\r\n\r\n");
|
||||||
delete $hash->{CONTENT_LENGTH};
|
delete $hash->{CONTENT_LENGTH};
|
||||||
FW_Read($hash, 1) if($hash->{BUF});
|
FW_Read($hash, 1) if($hash->{BUF});
|
||||||
|
Log 3, "$FW_cname: unsupported HTTP method $method, rejecting it."
|
||||||
|
if($retCode ne "200 OK");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user