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 Updated gallery renderer to cope with invalid images 2018-08-31 11:13:24 +01:00
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 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
constants.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
ghost-version.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
request.js Set Ghost user-agent header for got requests (#10424) 2019-01-28 17:01:34 +01:00