jezdez/django-hosts — pull request #17 by philipn (2014-06-19 01:33:50+00:00)
Title: Break middleware into two pieces, one for request and one for response.

This allows *other* middleware that alters the /response/ based on url
information to work properly.

Added in class + DeprecationWarning for backward-compatibility.