Leaklens

django__django-11133

HttpResponse doesn't handle memoryview objects

Verdict: the fix is stated in the issue (Tier A).

I guess HttpResponseBase.make_bytes ​could be adapted to deal with memoryview objects by casting them to bytes.

The text states the fix: “I guess HttpResponseBase.make_bytes ​could be adapted to deal with memoryview objects by casting them to bytes.”

All SWE-bench Verified tasks · more django/django tasks · How the check works