ratpack/ratpack — pull request #126 by rhart (2013-08-12 20:34:52+00:00)
Title: Convenience methods for sending byte array responses

Convenience methods for #87

I couldn't find a natural home for my tests so created a DefaultResponseSpec, happy to move somewhere better if needs be.

I also used URLConnection to guess the content type. I think there are others but don't really have much experience with them.