8000 Update user-agent string for Hookshot · sutt0n/developer.github.com@1135768 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1135768

Browse files
committed
Update user-agent string for Hookshot
8000
1 parent e0bc591 commit 1135768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/webhooks/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Header | Description
104104
`X-Hub-Signature`| HMAC hex digest of the payload, using [the hook's `secret`](/v3/repos/hooks/#create-a-hook) as the key (if configured).
105105
`X-Github-Delivery`| Unique ID for this delivery.
106106

107-
Also, the `User-Agent` for the requests will have the prefix `GitHub Hookshot`.
107+
Also, the `User-Agent` for the requests will have the prefix `GitHub-Hookshot/`.
108108

109109
#### Example delivery
110110

@@ -113,7 +113,7 @@ POST /payload HTTP/1.1
113113

114114
Host: localhost:4567
115115
X-Github-Delivery: 72d3162e-cc78-11e3-81ab-4c9367dc0958
116-
User-Agent: GitHub Hookshot 044aadd
116+
User-Agent: GitHub-Hookshot/044aadd
117117
Content-Type: application/json
118118
Content-Length: 6615
119119
X-Github-Event: issues

0 commit comments

Comments
 (0)
0