#31739: Document RawPostDataException
-------------------------------------------------+------------------------
               Reporter:  Adam (Chainz) Johnson  |          Owner:  nobody
                   Type:  Cleanup/optimization   |         Status:  new
              Component:  HTTP handling          |        Version:  master
               Severity:  Normal                 |       Keywords:
           Triage Stage:  Unreviewed             |      Has patch:  0
    Needs documentation:  0                      |    Needs tests:  0
Patch needs improvement:  0                      |  Easy pickings:  0
                  UI/UX:  0                      |
-------------------------------------------------+------------------------
 When accessing HttpRequest.body it's possible that it will raise
 RawPostDataException due to prior use of HttpRequest.read() / readline().
 However there is no documentation covering this exception, nor any
 guidance about solving it. Other exceptions like RequestDataTooBig are
 covered.

 Also the exception message is a little obscure: "You cannot access body
 after reading from request's data stream" . What's the 'data stream' here?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31739>
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/053.1e310fb7f564d9fd5cc8ef1f8c1cf36b%40djangoproject.com.

Reply via email to