gmitter-ef opened a new issue, #5425:
URL: https://github.com/apache/hop/issues/5425

   ### Apache Hop version?
   
   2.14
   
   ### Java version?
   
   OpenJDK 17
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   The metadata object "Web Service" contains a "Content-Type" setting that 
allows to set the "Content-Type" of the response. However, when analyzing the 
response, the string ";charset=utf-8" is concatenated to it unconditionally. 
This seems to make binary files corrupt; the file's content gets changed when 
downloaded in contrast to the file on the server.
   Verified for PNG (using Content-Type "image/png") and Excel (xlsx) files 
(using Content-Type 
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet").
   
   Note: text-based files (e.g., CSVs, using Content-Type "text/csv") do not 
seem to be affected.
   
   
![Image](https://github.com/user-attachments/assets/fcbb910b-1079-4299-83df-4fa20dad6cf7)
   
   
![Image](https://github.com/user-attachments/assets/c807eab4-bf02-476b-9833-159b7da9feef)
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Hop Server, Component: Metadata


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to