zcourts
zcourts

Reputation: 5043

Netty 4.x client file upload

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

Answers (1)

Norman Maurer
Norman Maurer

Reputation: 23557

HTTP Post support is not yet ported to netty 4. It's on the to-do-list atm..

Upvotes: 1

Related Questions