Juno is a small Python framework similar to the Ruby Sinatra Framework. I needed a very simple way to look at a large set of png files in a specific way across a number of computers, so I opted to use Juno. It took me about twenty minutes to figure out how to send binary data dynamically. (That is, how to send image data via decorated function, not through Juno’s static directory convention.)
The following works, although it might not be the Juno developers preferred method.
def your_request_handler(web): content_type('image/png') append(string_of_binary_data)
It’s obviously simple but for me, it wasn’t obvious.