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

Add a user-agent when using cURL #23

Open
LouWii opened this issue Oct 20, 2015 · 0 comments
Open

Add a user-agent when using cURL #23

LouWii opened this issue Oct 20, 2015 · 0 comments

Comments

@LouWii
Copy link

LouWii commented Oct 20, 2015

Hi,

I recently ran into an issue with Minimee where it couldn't get files.
After some research, I found out that Minimee was blocked because cURL doesn't have any User-Agent parameter when trying to fetch files.

I think it's a good practice to set a User-Agent when using cURL.
It's common to block requests with no user agents as it's mostly crawlers or bots.
And you can also find it in your http logs if you ever need it at some point.

I'll be glad to make a pull request with that little modification.

What do you think ?

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

No branches or pull requests

1 participant