Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting custom headers for requests sent by Http::sendHttpRequestBy() #11738

Merged
merged 1 commit into from May 24, 2017

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented May 24, 2017

It's currently not possible to use our Http class to send requests if setting custom HTTP-Headers are required.

Possible use cases would for example be a plugin that needs to query an API where an Authorization: OAuth -Header or similar is required.

@sgiehl sgiehl added c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review labels May 24, 2017
@sgiehl sgiehl added this to the 3.0.5 milestone May 24, 2017
@tsteur
Copy link
Member

tsteur commented May 24, 2017

LGTM. Needed this the other day as well :)

@sgiehl sgiehl merged commit 85e5cfb into 3.x-dev May 24, 2017
@sgiehl sgiehl deleted the httpheader branch May 24, 2017 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants