Skip to content

Commit 142513f

Browse files
committed
Update services/web.rb
add a user agent
1 parent a3a57a4 commit 142513f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/web.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def receive_event
3030
# and GET params are added to the POST body
3131
http.url_prefix = url
3232
http.headers['X-GitHub-Event'] = event.to_s
33+
http.headers['User-Agent'] = 'GitHub Services Web Hook'
3334

3435
if data['insecure_ssl'].to_i == 1
3536
http.ssl[:verify] = false

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy