Status code assertions take now also instances with status_code property (e.g. classes inherited from Django HttpResponse).
Handle all middleware methods.