Reputation: 5043
I've written an Http client around the new netty 4.0 lib. I can't seem to find where/how a post request should include files. One use case I've found now is uploading photos to a third party API.
The DefaultHttpRequest class has setContent for a buffer to be passed in but is there any utility to encode the post parameters (inc file fields)?
Upvotes: 1
Views: 539
Reputation: 23557
HTTP Post support is not yet ported to netty 4. It's on the to-do-list atm..
Upvotes: 1