Dear, folks!

I wonder is there some architecture rule that doesn't allow 
CommonMiddleware raise *PermissionDenied* exeption when client agent 
matches one of the settings.DISALLOWED_USER_AGENTS regexps?

Right now 
<https://github.com/django/django/blob/master/django/middleware/common.py#L48-L56>
 
if python developer wants to use this setting than all disallowed clients 
get page with single header "Forbidden". And there is no way to change this 
behavior (except write your own middleware of cause).

Thanks!

--
Mikhail Nacharov


-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/7182be11-0c36-4f69-896d-331cf337e877%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to