Skip to content

[Issue] Fix for headers in HTTP Curl Adapter #37641

@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #37613: Fix for headers in HTTP Curl Adapter


Description (*)

Current implementation of Magento Curl Adapter for Laminas_Http trying to set headers in associative array format:

[
    'Content-Type': 'application/json'
]

We instead should have indexed array:

[
    'Content-Type: application/json',
]

Related Pull Requests

Fixed Issues (if relevant)

n/a

Manual testing scenarios (*)

  1. ...
  2. ...

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)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: FrameworkComponent: BackendIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: needs updateAdditional information is require, waiting for responsePriority: P4No current plan to fix. Fixing can be deferred as a logical part of more important work.Progress: doneReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions