theforeman/foreman — pull request #1157 by mbacovsky (2014-01-15 15:56:17+00:00)
Title: Send apidoc hashes in headers

This patch makes the server to compute MD5 of API docs during start and register middleware which is responsibe for sending this hash in headers of each response. This way the API client (CLI) can find out if the API has changed.