email: Drop X-Robots-Tag on the auto-configuration URL

Seems unnecessary. Nothing to followup on.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2022-03-02 07:36:47 -05:00
1 parent 32737a16ed
commit 2c044db25c
1 file changed
+1 -3
+1 -3
View File
@@ -129,9 +129,7 @@ class XmlView(TemplateView):
def render_to_response(self, *args, **kwargs):
kwargs['content_type'] = 'text/xml; charset=utf-8'
response = super().render_to_response(*args, **kwargs)
response['X-Robots-Tag'] = 'noindex, nofollow, noarchive'
return response
return super().render_to_response(*args, **kwargs)
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)