Hashar has uploaded a new change for review. Change subject: prefix custom HTTP header with 'MediaWiki-' ......................................................................
prefix custom HTTP header with 'MediaWiki-' RFC 6684 deprecates the use of the 'X-' prefixes in protocols in favor of either: - a standardized prefix (described in an RFC) - a vendor prefix The only one I know of is 'X-Database-Lag' used by our API to report the current lag whenever the database is lagged out. This patch introduce a second header 'MediaWiki-Database-Lag' with the exact same value and leave behind the deprecated 'X-Database-Lag' for back compatibility. Change-Id: Ic8d5535a24fbd834a6e83a35a3c7bd1809c5fc5c --- M includes/api/ApiMain.php 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/31/16631/1 -- To view, visit https://gerrit.wikimedia.org/r/16631 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic8d5535a24fbd834a6e83a35a3c7bd1809c5fc5c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Hashar <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
