The webhook url always gives a http 200 return code... even if the operation if not allowed.

I did a quick test with GitLab, which seems to ignore the status unfortunately ... but I guess it makes sense.

CommentFileSizeAuthor
#2 http_status_on_webhook-2576739-2.patch498 byteshelmo

Comments

helmo created an issue. See original summary.

helmo’s picture

Status: Active » Needs review
StatusFileSize
new498 bytes
clemens.tolboom’s picture

helmo’s picture

Because drupal_access_denied generates a page ... and I only want to output a single line.

  • helmo committed 6688d76 on 7.x-3.x
    Issue #2576739 by helmo: Http status on webhook request
    
helmo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.