The UnsupportedHeaders property gets an FPCHTTPHeaders collection that contains the list of HTTP header names for which a compressed response will not be requested when any of them is present in the request.
HRESULT get_UnsupportedHeaders( IFPCHTTPHeaders** ppUnsupportedHeaders );
Address of an interface pointer that on return points to an IFPCHTTPHeaders interface that represents the list of HTTP header names for which a compressed response will not be requested when any of them is present in the request.
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Property UnsupportedHeaders As FPCHTTPHeaders
Reference to an FPCHTTPHeaders collection that contains the list of HTTP header names for which a compressed response will not be requested when any of them is present in the request.
' Create the root object.
Dim root ' The FPCLib.FPC root object
Set root = CreateObject("FPC.Root")
' Declare the other objects needed.
Dim isaArray ' An FPCArray object
Dim httpHeaders ' An FPCHTTPHeaders collection
Dim httpHeader ' A String
' Get references to the array object
' and the HTTP headers collection.
Set isaArray = root.GetContainingArray()
With isaArray.ArrayPolicy.WebProxy.HTTPCompressionConfiguration
Set httpHeaders = .UnsupportedHeaders
End With
' Display the unsupported HTTP headers.
For Each httpHeader In httpHeaders
WScript.Echo httpHeader
Next
This property is read-only. HTTP header names can be added or removed by calling the methods of the FPCHTTPHeaders collection retrieved (the IFPCHTTPHeaders interface retrieved in C++).
This property cannot be accessed through Forefront TMG Management.
| 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. |
FPCHTTPCompressionConfiguration
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.