Get ahold of a CompressingFilter for the given encoding scheme. If no encoding scheme can be found, it returns null.
[Visual Basic] Shared Public Function ( _ ByVal String[] As String(), _ ByVal Stream As Stream, _ ByVal Settings As Settings _ ) As CompressingFilter [C#] public static CompressingFilter ( string[] String[], Stream Stream, Settings Settings ); [C++] public: static CompressingFilter* ( String* String[] __gc[], Stream* Stream, Settings* Settings ); [JScript] public static function ( String[] String[], Stream Stream, Settings Settings ): CompressingFilter;
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3 for details on how clients are supposed to construct the Accept-Encoding header. This implementation follows those rules, though we allow the server to override the preference given to different supported algorithms. I'm doing this as I would rather give the server control over the algorithm decision than the client. If the clients send up * as an accepted encoding with highest quality, we use the preferred algorithm as specified in the config file.
HttpModule Class | blowery.Web.HttpCompress Namespace