Class NewLineSanitizerInputStream

java.lang.Object
java.io.InputStream
de.hybris.platform.odata2services.odata.processor.NewLineSanitizerInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class NewLineSanitizerInputStream extends InputStream
This class is a workaround to fix content that is crafted not following the RFC 1341 for multipart requests. It needs to stay in place until SCPI is able to send compliant content using CRLF instead of LF only for blank lines between the HTTP headers and the payload. https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html