Ran
|
Files
23
|
Run time
4s
|
Badge
Embed ▾
README BADGES
|
travis-ci
views: detect if input stream was already read * In the case of having an external library which has already read the `request.stream` files REST fails with a server error since it will not be able to read the uploaded file (closes #197). This has happened with Sentry's `raven-python` library which reads the stream when the mimetype is `application/json` causing JSON files uploads to not work and throwing a misleading error. More here https://github.com/getsentry/raven-python/blob/719be9afa/raven/contrib/flask.py#L198
1656 of 1734 relevant lines covered (95.5%)
0.96 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|