Adds a Content-Type fragment, so the content of sub-request responses that match
the specified Content-Type fragment will be kept.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax
Parameters
- typeFragment
- Type: System String
Sub-request responses that have a Content-Type header containing this typeFragment will be kept.
Remarks
Examples
// Keep the content of any sub-requests that have a Content-Type starting with "text" (e.g. text/html, text/xml) request.AddKeepSubRequestContentType("text");
See Also