Revert "Revert "修改header保存""

This reverts commit e4fbc6404b54118728c27e7defec40ad621ce2e0.