AllowCompressionWithoutContentLength Property of the IFPCHTTPCompressionConfiguration2 Interface

The AllowCompressionWithoutContentLength property gets or sets a Boolean value that indicates whether HTTP compression is allowed for responses with no Content-Length.

[C++]
HRESULT put_AllowCompressionWithoutContentLength(
	VARIANT_BOOL fAllowCompressionWithoutContentLength
);
HRESULT get_AllowCompressionWithoutContentLength(
	VARIANT_BOOL* pfAllowCompressionWithoutContentLength
);

Parameters

pfAllowCompressionWithoutContentLength

Pointer to a VARIANT_BOOL which on return indicates whether HTTP compression is allowed for responses with no Content-Length.

fAllowCompressionWithoutContentLength

VARIANT_BOOL that specifies whether HTTP compression is allowed for responses with no Content-Length.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

[Visual Basic]
Property AllowCompressionWithoutContentLength As Boolean

Property Value

Boolean value that indicates whether HTTP compression is allowed for responses with no Content-Length.

Remarks

This property is read/write.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCHTTPCompressionConfiguration


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

[an error occurred while processing this directive]