Skip to content

Feature: Add support for passing headers with HTTP Transport#30

Merged
sixlive merged 3 commits intoprism-php:mainfrom
michaeldyrynda:main
Jan 21, 2026
Merged

Feature: Add support for passing headers with HTTP Transport#30
sixlive merged 3 commits intoprism-php:mainfrom
michaeldyrynda:main

Conversation

@michaeldyrynda
Copy link
Contributor

Description

This PR adds the ability to pass an array of headers to the HTTP Transport.

I've run up against issues with MCP servers that require custom request headers be sent with the request, and there was no way to send custom headers.

Copy link
Contributor

@sixlive sixlive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SICK thanks!!

@sixlive sixlive merged commit a2014d7 into prism-php:main Jan 21, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants