Skip to content

Added optional headers param in fetchEntries method.#58

Open
nadav96 wants to merge 2 commits intoguoguo12:masterfrom
nadav96:master
Open

Added optional headers param in fetchEntries method.#58
nadav96 wants to merge 2 commits intoguoguo12:masterfrom
nadav96:master

Conversation

@nadav96
Copy link

@nadav96 nadav96 commented Sep 3, 2019

Hi, I saw in previous versions of the repo the program added a fixed user agent, which caused problems (403 errors).
But I do think the option to add user agent to the request (or any other header) is important, to identify the program etc..

Please let me know what you think 😊

@guoguo12
Copy link
Owner

guoguo12 commented Sep 5, 2019

Good call. Can you add headers as an argument to the constructor instead, to match timeout?

@guoguo12
Copy link
Owner

guoguo12 commented Sep 7, 2019

Thanks! And can you rebase and check that the test suite passes?

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