Hello Surjendu,

thanks for reporting this issue. The fix is now available in the svn reporitory.

best regards,
Thierry Boileau
I am receiving the following exception when the entity is being set in the response.

java.util.zip.ZipException: no current ZIP entry

My code:

File file = new File("c:\\temp.zip");
rep = new FileRepresentation(file,MediaType.APPLICATION_ZIP);
Representation zippedRep = new EncodeRepresentation(Encoding.ZIP,rep);
getResponse().setEntity(zippedRep);





Reply via email to