2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +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:
rudolfkoenig 2017-01-25 06:59:08 +00:00
parent 7fb5138127
commit 9f88c470ba

View File

@ -429,6 +429,8 @@ FW_Read($$)
"Content-Length: 0\r\n\r\n");
delete $hash->{CONTENT_LENGTH};
FW_Read($hash, 1) if($hash->{BUF});
Log 3, "$FW_cname: unsupported HTTP method $method, rejecting it."
if($retCode ne "200 OK");
return;
}