On Tue, May 5, 2009 at 12:24 PM, Gregory Gerard <ggerard_at_mac.com> wrote:
> What's would be the right curl invocation to test this?
>
> Doesn't POST normally do the form encoding? Would the InputStream see the
> raw stream or a processed stream?
That depends on content type being specified; form encoding is just
one of options. For straight binary, you'd do
"application/octet-stream" (or whatever it was, one of constants from
MediaType).
InputStream would give raw version, if anything; abstraction does not
allow any structured input.
-+ Tatu +-