mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
ce6745b6a1
- Currently, we create a request ID for internal use if one isn't set & this is used in logs - If a custom request ID is set via X-Request-ID header, this gets logged, however, we don't return this with the response - Means that a custom ID gets lost on the way back out, and makes tracing requests through a system trickier - This change ensures that if X-Request-ID is set on the request, it is also set on the response so that requests can be properly traced - It's easy to set this in e.g. nginx so that the feature becomes available - Ghost doens't need to do this - Note: also split request id handling out into new middleware |
||
---|---|---|
.. | ||
api | ||
validation | ||
admin-redirects.js | ||
brute.js | ||
cache-control.js | ||
custom-redirects.js | ||
error-handler.js | ||
frontend-client.js | ||
ghost-locals.js | ||
index.js | ||
labs.js | ||
log-request.js | ||
maintenance.js | ||
pretty-urls.js | ||
request-id.js | ||
serve-favicon.js | ||
serve-public-file.js | ||
static-theme.js | ||
uncapitalise.js | ||
url-redirects.js |