X-GitSHA HTTP Header
Component ID
1092036
Component name
X-GitSHA HTTP Header
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
570
Component created
Component changed
Component body
Small, simple module that adds an "X-GitSHA" header to HTTP responses.
The header is enabled by default. To disable sending the header, you need to manually set the xgitsha_add_header site variable to "0" or something else that evaluates to FALSE.
See http://blog.andrewvc.com/making-life-easier-with-git-shas-in-your-http and #1091982: Optionally publish the SHA1 of current HEAD in HTTP headers.
