public void MultipleEncodings() { ContentEncodingBuilder b = new ContentEncodingBuilder(); b.Add(ContentEncodingType.Gzip); b.Add(ContentEncodingType.Deflate); Assert.Equal("gzip, deflate", b.Build()); b.Reset(); Assert.Null(b.Build()); }
public void SingleEncoding() { ContentEncodingBuilder b = new ContentEncodingBuilder(); b.Add(ContentEncodingType.Gzip); Assert.Equal("gzip", b.Build()); }