There should be documentation that cautions about using request.raw_post_data and request.POST together
|Reported by:||lie.1296@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently, if you're accessing request.raw_post_data, then request.POST will become empty; there should be a note in the docs about that and telling that if you need to access both, then you should access request.POST first then request.raw_post_data.
Either that, or this bug should be fixed and it should be safe to read request.raw_post_data and request.POST in any order.