-
Notifications
You must be signed in to change notification settings - Fork 41
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
brotli compression not supported? #112
Comments
Under the hood, it uses It seems like with Still, I agree that it should not fail silently. I have the bandwidth to review PRs, but lack the power to merge them :-/ |
@dlecocq, I will give that a go - many thanks for the suggestion. I solved the problem by removing that as an accepted encoding method - but thought I would mention it as this behaviour meant that our site tests suggested there was no robots.txt for servers that supported that encoding method while servers that elected to use something else returned successfully. Apart from repairing the problem, which may well manifest itself elsewhere so worth doing, I think the ability to provide a robots.txt content as a text string or file (ideally both) and to be able to access the content once it is in the possession of the module (regardless of which method was used to get it there; string, file or url) would help in this and other contexts. Are you saying if I did a PR it wouldn't be accepted or that you can't do it yourself? I ask as I have development resource that might be able to help but I'm don't want to apply it if the PR is going to sit languishing. |
Yeah, it's a pretty terrible failure mode since it effectively ignores the presence of such Re: I was just saying that I can help out with the reviewing, but I'm no longer at Moz so can't press the 'merge' button for you. @lindseyreno is who'd probably end up doing that. |
If @dlecocq reviews it, I'll merge it :) |
Thanks @dlecocq and @lindseyreno, really great to get such speedy feedback. I'll talk to one of the lead devs and see if we can get this looked at. They might not want to prioritise as there's a work around for the |
Robots.fetch()
silently fails when the Accept Encoding header contains a compression algorithm (such asbr
) that is not supported.The text was updated successfully, but these errors were encountered: