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
Some HTTP requests to servers that have been configured to reject HTTP requests that do not include a User-Agent are failing. See: https://websharks.zendesk.com/agent/tickets/4478
User-Agent
This is because the HTML Compressor did not include a User-Agent in the cURL transport layer at all, and the fopen stream context was defaulting to the system-wide User-Agent, which is less than ideal.
fopen
Fixed in da974a5
The text was updated successfully, but these errors were encountered:
Include `User-Agent` always.
da974a5
Successfully merging a pull request may close this issue.
Some HTTP requests to servers that have been configured to reject HTTP requests that do not include a
User-Agent
are failing. See: https://websharks.zendesk.com/agent/tickets/4478This is because the HTML Compressor did not include a
User-Agent
in the cURL transport layer at all, and thefopen
stream context was defaulting to the system-wide User-Agent, which is less than ideal.Fixed in da974a5
The text was updated successfully, but these errors were encountered: