ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / EsriHttpRequestHeaders Class / Accept Property

In This Topic
    Accept Property
    In This Topic
    Gets the collection of System.Net.Http.Headers.MediaTypeHeaderValue values containing the list of acceptable media types for the response. The default quality factor for each acceptable media type is "q=1"
    Syntax

    Property Value

    HttpHeaderValueCollectionA valid collection of MediaTypeWithQualityHeaderValue
    Remarks
    The Accept request-header field can be used to specify certain media types which are acceptable for the response.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also