iago icon indicating copy to clipboard operation
iago copied to clipboard

Add support for specifying ParrotRequest body as a ByteArrayInputStream

Open cahlbin opened this issue 10 years ago • 1 comments

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.

cahlbin avatar Feb 23 '15 22:02 cahlbin

CLA assistant check
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.

CLAassistant avatar Jul 18 '19 15:07 CLAassistant