0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/lib
Tim Birkett 2e21618290 Set Ghost user-agent header for got requests (#10424)
no-issue

Currently the `user-agent` header is the for outgoing webhook calls is the `got` default: `User-Agent: got/8.3.2 (https://github.com/sindresorhus/got)`.

This is pretty unfriendly to the receiver of the webhook who may wish to perform analytics on calling systems, implement security features based on calling system or take action based on different versions of a client.

This PR sets the header to: `User-Agent: Ghost/2.12.0 (https://github.com/TryGhost/Ghost)` which is much more descriptive.
2019-01-28 17:01:34 +01:00
..
common Bumped major test dependencies (#10403) 2019-01-21 18:28:44 +01:00
fs Updated docs links to best equivalents (#10386) 2019-01-17 06:57:37 +00:00
image 🐛 Fixed responsive images for .icos 2019-01-15 17:41:25 +00:00
members Refactored members for management api (#10408) 2019-01-22 15:29:44 +01:00
mobiledoc
promise Extended sequence utility 2018-10-03 00:17:45 +02:00
security Added Node v10 Support (#10058) 2018-10-30 15:45:51 +07:00
social
constants.js
ghost-version.js
request.js Set Ghost user-agent header for got requests (#10424) 2019-01-28 17:01:34 +01:00