more explicit middlware ordering
In a django-developer discussion the problem of middlware ordering came up. I think a solution might be to have an optional way to give an explicit middleware ordering for the response phase.
This could be done in a way so that if the user doesn't give an explicit ordering, the system automatically uses the reversed middleware list - that's the behaviour we have now.
But if the users defines a setting for middlewar response order, the system could check that the content is identical in content, but can be different in order. That way people can give explicit order and response handling would be much more explicit and understandable.