beforeSubmit function after global validation all fields forms
Added ability to get incoming headers
Merge branch 'master' of git://github.com/yiisoft/yii2 into get-headers
added use http_get_request_headers and use getHeaders method in Gii module
Merge pull request #1958 from 6pblcb/yiiActiveForm-beforeSubmit

Transfer beforeSubmit function after global validation all fields forms
Fixes #1958: `beforeSubmit` in `yii.activeform` is now executed after validation and before form submission
doc update.
Merge pull request #2111 from dizews/get-headers

Added ability to get incoming headers
Merge branch 'master' of https://github.com/yiisoft/yii2