Support longpoll/event monitor with chrome.

git-svn-id: https://svn.fhem.de/fhem/trunk@2207 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-11-27 18:02:25 +00:00
parent 205dfaaf73
commit b5462c8c6c

View File

@@ -483,8 +483,8 @@ FW_answerCall($)
$me->{NTFY_ORDER} = $FW_cname; # else notifyfn won't be called
my $c = $me->{CD};
print $c "HTTP/1.1 200 OK\r\n",
$FW_headercors,
"Content-Type: text/plain; charset=$FW_encoding\r\n\r\n";
$FW_headercors,
"Content-Type: application/octet-stream; charset=$FW_encoding\r\n\r\n";
return -1;
}