2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-24 09:09:19 +00:00

70_Pushover: adjust some HttpUtils_NonblockingGet() settings

git-svn-id: https://svn.fhem.de/fhem/trunk@13753 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2017-03-20 17:08:33 +00:00
parent 8cc38d5d2a
commit 8e6191932f

View File

@ -258,15 +258,15 @@ sub Pushover_SendCommand($$;$\%) {
service => $service,
cmd => $cmd,
type => $type,
callback => \&Pushover_ReceiveCommand,
httpversion => "1.1",
loglevel => AttrVal( $name, "httpLoglevel", 4 ),
header => {
Agent => 'FHEM-Pushover/1.0.0',
'User-Agent' => 'FHEM-Pushover/1.0.0',
'Content-Type' => 'application/x-www-form-urlencoded',
Accept => 'application/json;charset=UTF-8',
'Accept-Charset' => 'UTF-8',
},
callback => \&Pushover_ReceiveCommand,
}
);
@ -292,15 +292,15 @@ sub Pushover_SendCommand($$;$\%) {
service => $service,
cmd => $cmd,
type => $type,
callback => \&Pushover_ReceiveCommand,
httpversion => "1.1",
loglevel => AttrVal( $name, "httpLoglevel", 4 ),
header => {
Agent => 'FHEM-Pushover/1.0.0',
'User-Agent' => 'FHEM-Pushover/1.0.0',
'Content-Type' => 'application/x-www-form-urlencoded',
Accept => 'application/json;charset=UTF-8',
'Accept-Charset' => 'UTF-8',
},
callback => \&Pushover_ReceiveCommand,
}
);
}