Ghost/ghost/core/test/unit/server/services
Fabien "egg" O'Carroll 9df131ee5a Checked for existence of page via a network request
refs https://github.com/TryGhost/Team/issues/2466

Now that we're checking for resources at the URL and rejecting if
there isn't one found, we want to make sure that we can handle pages
which are not a resource.

The idea here is to make a HEAD request to determine whether or not
the page exists. We don't need the full response so HEAD saves us some
bandwidth and we allow both 2xx and 3xx status codes because Ghost has
redirects to add missing trailing slashes, which may not be present in
the URL we're passed.
2023-01-24 16:17:40 +07:00
..
adapter-manager Added JSDoc to adapter options resolver 2022-09-06 17:51:57 +08:00
api-version-compatibility Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
auth Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
custom-redirects Renamed redirects to custom-redirects 2022-09-14 13:24:17 -04:00
frontend-data-service Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
link-tracking Added endpoint for fixing newsletter links 2022-10-20 17:50:02 +05:30
mail Removed bluebird dependency from unit tests in core (#16096) 2023-01-23 11:23:48 +00:00
mega Improved email verification required checks (#16060) 2023-01-04 11:22:12 +01:00
members Added member API for removing email from suppression list (#15867) 2022-11-23 14:41:00 +04:00
mentions Checked for existence of page via a network request 2023-01-24 16:17:40 +07:00
newsletters Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
notifications Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
oembed Refactored OEmbed service into a proper service 2023-01-19 18:41:49 +07:00
permissions Removed bluebird dependency from unit tests in core (#16096) 2023-01-23 11:23:48 +00:00
posts Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
route-settings Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
settings Added email snapshots to settings BREAD service test 2023-01-18 14:19:27 +01:00
settings-helpers 🐛 Fixed sending emails from email domain that includes www subdomain (#15348) 2022-09-02 16:57:59 +02:00
staff Added DomainEvents.allSettled utility method (#16075) 2023-01-04 14:30:35 +01:00
stripe Removed apiVersions from test urlUtils 2022-09-09 13:32:30 +01:00
themes Added visible theme errors in admin (#16081) 2023-01-06 13:44:27 +01:00
url Fixed route update error on attach/detach events 2023-01-24 12:29:09 +08:00
users Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
webhooks Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
labs.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
limits.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
slack.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
xmlrpc.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00