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

Remoção de user-agent hardcoded #8

Open
vitormattos opened this issue Oct 20, 2020 · 0 comments
Open

Remoção de user-agent hardcoded #8

vitormattos opened this issue Oct 20, 2020 · 0 comments

Comments

@vitormattos
Copy link
Member

vitormattos commented Oct 20, 2020

Para que o projeto seja mais customizável, é recomendável que esta informação não seja hardcoded é uma boa que isto seja passado no construtor da classe.

$this->client->setServerParameter('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant