I am trying to write a file sharing application that exposes a REST interface.

The library I am using, Flask-RESTful only supports returning JSON by [default](http://flask-restful.readthedocs.org/en/latest/extending.html#content-negotiation). Obviously attempting to serve binary data over JSON is not a good idea at all.

What is the most "RESTful" way of serving up binary data through a GET method? It appears possible to [extend](http://flask-restful.readthedocs.org/en/latest/extending.html#response-formats) Flask-RESTful to support returning different data representations besides JSON but the documentation is scarce and I'm not sure if it's even the best approach.