Ran
|
Files
27
|
Run time
2s
|
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
1730 of 1812 relevant lines covered (95.47%)
0.95 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|