Change post-commit webhooks to issue PUTs instead of POST requests

and generalize the HTTP header name for the auth digest; introduce
an option to restore the old behaviour and document that; place a
big warning in NEWS.mdtext about this change.

This change has been sponsored by Scilab.
This commit is contained in:
Thomas Keller
2011-09-26 01:36:04 +02:00
parent 7ff298af79
commit 920432025f
6 changed files with 46 additions and 5 deletions

View File

@@ -67,9 +67,9 @@
<br>
<div class="issue-submit-info">
{blocktrans}<p>The webhook URL setting specifies an URL to which a HTTP POST
request is sent after each repository commit. If this field is empty,
notifications are disabled.</p>
{blocktrans}<p>The webhook URL setting specifies an URL to which a HTTP
<strong>{$hook_request_method}</strong> request is sent after each repository
commit. If this field is empty, notifications are disabled.</p>
<p>Only properly-escaped <strong>HTTP</strong> URLs are supported, for example:</p>