#30294: HttpResponse doesn't handle memoryview objects
-------------------------------------+-------------------------------------
Reporter: Roger Hunwicks | Owner: sage
Type: New feature | Status: assigned
Component: HTTP handling | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
`BinaryField` was introduced in 1.8 and has been returning `memoryview` on
Python 3 `psycopg2` since then so this isn't a regression nor a bug in a
newly introduced feature; this has been happening since the feature was
introduced.
I considered this was a ''new feature'' because `HttpResponse` never
handled `memoryview` objects in the first place. Interactions with
`BinaryField` is red herring here IMO.
--
Ticket URL: <https://code.djangoproject.com/ticket/30294#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.8c3c72971fcc9bca099a512de885c77f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.