Skip to content

[ENH] Allow custom headers to configure for feed #833

@gjimish

Description

@gjimish

Is your feature request related to a problem? Please describe.

Allow to pass other headers as well for feed url.

Describe the solution you'd like

simplepie/src/SimplePie.php

Lines 1732 to 1734 in adc91d4

$headers = [
'Accept' => SimplePie::DEFAULT_HTTP_ACCEPT_HEADER,
];
should be configurable.

Describe alternatives you've considered

N/A

Additional context

I can submit a PR.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions