Add support for specifying ParrotRequest body as a ByteArrayInputStream
This allows sending parrot requests with a body that are to be interpreted as Content-Type: application/octet-stream.
The choice of requiring a ByteArrayInputStream vs any InputStream was simply because it made the allocation of the ChannelBuffer simple, because then InputStream.available() can be used reliably, and in favor over more complex allocation/copying of the InputStream to a Netty ChannelBuffer.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.