mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
9df131ee5a
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. |
||
---|---|---|
.. | ||
adapters | ||
data | ||
lib | ||
models | ||
services | ||
web | ||
notify.test.js | ||
overrides.test.js |