Skip to content

Conversation

JonoHall
Copy link

@JonoHall JonoHall commented Apr 6, 2021

additionalHeaders can be set in the client, but they are not being used for the reponse. Looks like they are missing from the getHeaders() function.

This simple fix, allows users to set headers such as the Idempotency header as per the API manual:

$client = new \PrintNode\Client($credentials);
$client->additionalHeaders = array('X-Idempotency-Key: abcde12345');

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.

1 participant