Changed the header name of the hmac to be generic.

This commit is contained in:
Loic d'Anterroches 2010-05-10 10:21:22 +02:00
parent 47acc73451
commit 692d2e53b2

View File

@ -46,7 +46,7 @@ class IDF_Webhook
'user_agent' => 'Indefero Hook Sender (http://www.indefero.net)', 'user_agent' => 'Indefero Hook Sender (http://www.indefero.net)',
'max_redirects' => 0, 'max_redirects' => 0,
'timeout' => 15, 'timeout' => 15,
'header'=> 'Indefero-Hook-Hmac: '.$sign."\r\n" 'header'=> 'Post-Commit-Hook-Hmac: '.$sign."\r\n"
.'Content-Type: application/json'."\r\n", .'Content-Type: application/json'."\r\n",
) )
); );