mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-25 03:39:21 +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:
parent
8cc38d5d2a
commit
8e6191932f
@ -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,
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user