-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing kbn-version from the response headers. #20551
Conversation
💔 Build Failed |
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Removing kbn-version from the response headers. * Removing test assert that we don't need
* Removing kbn-version from the response headers. * Removing test assert that we don't need
Is there some other way to programatically determine Kibana's version? That is useful for applications using the REST APIs as there may be changes from version to version. For example, it looks like the default dashboard panel sizes have changed from 6 x 3 to 24 x 15 between 6.2 and 6.3. There might be other similar changes. |
@chavdar The version info should be included in the |
We're currently always adding the
kbn-version
header to all responses, but this doesn't appear to be utilized anywhere. The version checking logic is pulling thekbn-version
from initial state that is injected.Resolves #20573
"Release Note: No longer setting unnecessary
kbn-version
header on all HTTP responses"