Takes plain text data
(body, charset="utf-8", **kwargs)
| 33 | |
| 34 | @content_type("text/plain") |
| 35 | def text(body, charset="utf-8", **kwargs): |
| 36 | """Takes plain text data""" |
| 37 | return body.read().decode(charset) |
| 38 | |
| 39 | |
| 40 | @content_type("application/json") |
no outgoing calls
no test coverage detected