unirest-java v2.1.03 Release Notes

    • Finally address #26 You can add a file upload progress monitor. This monitor will get called for each file in a multipart file upload by name. java Unirest.post("http://someplace") .field("myFile", new File("/file/somthing.tar") .uploadMonitor((fieldName, fileName, bytesWritten, totalBytes) -> { // draw a upload progress bar or something }) .asEmpty()
    • 🛠 Fix an issue where when using generic methods that take object, passing in complex objects like InputStreams would not get send as the correct type.