tomchristie/django-rest-framework — pull request #1380 by stephenmcd (2014-02-01 03:19:58+00:00)
Title: Don't use request stream since it can only be read once preventing other...

... middleware (particularly sentry) from accessing it.

Pretty sure this is the wrong fix, but here it is nonetheless.

As I roughly understand, calling request.read() means that none of the post data is accessible on the original Django request object anymore. This breaks things like sentry which capture the request body in middleware for error reporting. You could easily imagine other stuff it might break too.

If there's a better fix, please disregard this and either way - thanks for the great software!