#34482: Unable to access non-picklable attributes of HttpRequest and 
HttpResponse
objects after shallow copy.
-----------------------------------------+-------------------------------
               Reporter:  Anvesh Mishra  |          Owner:  Anvesh Mishra
                   Type:  Bug            |         Status:  assigned
              Component:  HTTP handling  |        Version:  4.2
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  1
                  UI/UX:  0              |
-----------------------------------------+-------------------------------
 Trying to access the non-picklable attributes of `HttpRequest` object
 after shallow copy leads to an `AttributeError`.
 Example:

 {{{
 request = HttpRequest()
 request_copy = copy(request)
 match = request_copy.resolver_match

 AttributeError: 'WSGIRequest' object has no attribute 'resolver_match'
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34482>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701876ff8fd32-b562d964-343d-4a3b-a9e4-53f158cb0b2d-000000%40eu-central-1.amazonses.com.

Reply via email to