Open
Description
This issue is automatically created based on existing pull request: #32520: [Framework] Fixed getHeader for returning default value if requested missing
…header midding
Description (*)
getHeader
function allow to provider default value parameter, but this value never return back
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
- Create controller action class
- Try to receive header value for missing header
$this->getRequest()->getHeader('test-header', 'test-value')
Expected result
test-value
should be returned
Actual result result
false
returned
Questions or comments
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects non-critical data or functionality and does not force users to employ a workaround.Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Type
Projects
Status
Pull Request In Progress