Skip to content

Commit f4ec3b8

Browse files
committed
use the headers we actually send not what rails gives us
1 parent 3f27b27 commit f4ec3b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/v3/repos/hooks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ GitHub will send along a few HTTP headers to differentiate between event types a
3939

4040
Name | Description
4141
-----|-----------|
42-
`HTTP_X_GITHUB_EVENT` | The [event type](#events) that was triggered.
43-
`HTTP_X_GITHUB_DELIVERY` | A [guid][guid] to identify the payload and event being sent.
44-
`HTTP_X_GITHUB_SIGNATURE` | The value of this header is computed as the HMAC hex digest of the body, using the `secret` config option as the key.
42+
`X-GitHub_Event` | The [event type](#events) that was triggered.
43+
`X-GitHub_Delivery` | A [guid][guid] to identify the payload and event being sent.
44+
`X-GitHub_Signature` | The value of this header is computed as the HMAC hex digest of the body, using the `secret` config option as the key.
4545

4646
### Parameter
4747

0 commit comments

Comments
 (0)