Hi, in our codebase we made use of this gist[1], which relies on a private API, but more importantly, creates requests without going through the response chain. This is relevant for catching exceptions in Middleware: there were two tests that explicitly test for DISALLOWED_HOST and I had to rewrite them to test for a 400 response.
I don't see an easy way to restore the old behavior and stick to official API's. Am I missing something or is this correct? -- Melvyn Sopacua -------- [1] https://gist.github.com/tschellenbach/925270 -- 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 django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/1724107.Ul47RLQj4Y%40fritzbook. For more options, visit https://groups.google.com/d/optout.