Baekalfen / ICAP-avscan

Uploads a file to a ICAP server.
MIT License
47 stars 28 forks source link

I am getting error in getHeaders method while sending \r\n\r\n as header ? #29

Open kaustubh111 opened 1 year ago

kaustubh111 commented 1 year ago

I am using the code as a rest web service and trying to upload the file as multipart .I have converted the file to an input stream and sent it to the scanfile method but when the debugger reaches to getHeader method I get in.read method result -1 and it throws ICAPException...any help will be appreciated. Let me know if you need more details