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

Support for "X-Robots-Tag" header #417

Open
JamoCA opened this issue Sep 28, 2021 · 1 comment
Open

Support for "X-Robots-Tag" header #417

JamoCA opened this issue Sep 28, 2021 · 1 comment

Comments

@JamoCA
Copy link
Contributor

JamoCA commented Sep 28, 2021

I noticed that WordPress's API added support for the X-Robots_tag header about 5 years ago and wonder if it's something that should be added as a default Taffy API response header.

While this header can already be manually added as a custom header in the Application.cfc, I'm not aware of any reasons why this wouldn't be beneficial to add as a default.

globalHeaders = {
	"X-Robots-Tag" = "noindex, nofollow, noimageindex"
}

Thoughts?

@atuttle
Copy link
Owner

atuttle commented Sep 28, 2021

I agree that it seems harmless enough, but I wouldn't want to add it without some way to remove it if someone decides they don't want it.

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

2 participants