# HG changeset patch # User Marcin Kuzminski # Date 2018-12-19 14:13:35 # Node ID 49356e351951c1a2997ae61e1b8f465947daf64c # Parent a029d28fe6dafaf72aa7d07d8809bd8c4daa8228 integrations: allow PUT method for webhook integration. diff --git a/rhodecode/integrations/types/webhook.py b/rhodecode/integrations/types/webhook.py --- a/rhodecode/integrations/types/webhook.py +++ b/rhodecode/integrations/types/webhook.py @@ -119,11 +119,11 @@ class WebhookSettingsSchema(colander.Sch colander.String(), title=_('Call Method'), description=_('Select if the Webhook call should be made ' - 'with POST or GET.'), + 'with POST, GET or PUT.'), default='post', missing='', widget=deform.widget.RadioChoiceWidget( - values=[('get', 'GET'), ('post', 'POST')], + values=[('get', 'GET'), ('post', 'POST'), ('put', 'PUT')], inline=True ), )