From: Vasudevan C. <vco...@gm...> - 2019-06-06 11:44:06
|
All, Received a PDF file with content-encoding is gzip-only-text/html and HTML unit treats this as GZIP stream. Copied below is the error trace. Looking forward to your response Regards Vasu 2019-06-06 17:04:20,171 [Actor Thread 1] ERROR htmlunit.WebResponseData - Reading gzip encodec content failed . Message: Not in GZIP format Line | Method ->> 165 | readHeader in java.util.zip.GZIPInputStream - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 79 | <init> in '' | 91 | <init> . . . . . . . . . . . in '' | 104 | getStream in com.gargoylesoftware.htmlunit.WebResponseData | 171 | getInputStream . . . . . . . in '' | 272 | getContentAsStream in com.gargoylesoftware.htmlunit.WebResponse |