title: Encoding method used for the SSO saml request/data in the our application got depreciated
body: <p>We are using UTF8 encoding method to encode the SSO saml request/data in the our application and it was working fine. But suddenly the SSO functionality stopped working and on analysis we found that the encoding method used got depreciated.</p>
  <p>Previous code which stopped working:</p>
  <pre><code>new DeflaterOutputStream(output)
  </code></pre>
  <p>Updated code which fixed the issue:</p>
  <pre><code>new DeflaterOutputStream(output, 
      new ICSharpCode.SharpZipLib.Zip.Compression.Deflater(
       level: ICSharpCode.SharpZipLib.Zip.Compression.Deflater.DEFAULT_COMPRESSION,
       noZlibHeaderOrFooter: true)))
  </code></pre>
  <p>So basically we had updated the DeflaterOutputStream to use DEFLATE and suppressed the header and footer to fix the issue.</p>
  <p>Can some one tell when the old DeflaterOutputStream code got depreciated. We need to understand why the previous working code stopped working suddenly.</p>
  <p>Thanks for all you help.</p>