On Tuesday 23 June 2015 15:50:14 Tim Graham wrote:
> I don't think there's an "architecture rule" that would prevent that
> design. It looks like DISALLOWED_USER_AGENTS has been around since 2005,
> but handler403 wasn't added until 1.4. Since the docs for the setting say
> "Use this for bad robots/crawlers." I guess it's implied that customizing
> the response isn't particularly useful.
Actually, I suspect it would be harmful. I've seen too many cases of people
writing their site to reject browsers they don't like. I don't want Django to
support this malpractice; even IE6 deserves a chance to try to cope with the
site, rather than a "forbidden, go away".
Could any of the supporters elaborate on the use-case?
Thanks,
Shai.