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

If Content-Type header is set, verify it's the expected one #4

Open
pypt opened this issue Nov 27, 2018 · 1 comment
Open

If Content-Type header is set, verify it's the expected one #4

pypt opened this issue Nov 27, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@pypt
Copy link
Contributor

pypt commented Nov 27, 2018

For example, if Content-Type for /robots.txt is text/html (and not text/plain), this usually means that the file is missing (and instead a 404 page would get returned) so there's no need to attempt to parse it.

Same goes for XML files, plain text sitemaps, and gzipped XML / text sitemaps.

@pypt pypt added the bug Something isn't working label Nov 27, 2018
@tanweeralii
Copy link

tanweeralii commented Mar 23, 2021

Hey @pypt, I am a beginner here and I am looking for an good first issue. Seems this issue is good to start with.
I have compiled and build it in my system. Now can you just brief more about this issue like how to solve. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants