Skip to content

Commit

Permalink
Fix typo (dotnet#102015)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK authored and Ruihan-Yin committed May 30, 2024
1 parent 2494bec commit fde308e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ protected override Stream GetDecompressedStream(Stream originalStream) =>
private sealed class ZLibOrDeflateStream : HttpBaseStream
{
// As described in RFC 2616, the deflate content-coding is the "zlib" format (RFC 1950) in combination with
// the "deflate" compression algrithm (RFC 1951). Thus, the right stream to use here is ZLibStream. However,
// the "deflate" compression algorithm (RFC 1951). Thus, the right stream to use here is ZLibStream. However,
// some servers incorrectly interpret "deflate" to mean the raw, unwrapped deflate protocol. To account for
// that, this switches between using ZLibStream (correct) and DeflateStream (incorrect) in order to maximize
// compatibility with servers.
Expand Down

0 comments on commit fde308e

Please sign in to comment.