Skip to main content

HttpClient.UseDefaultHeaders

NameType
UseDefaultHeadersboolean

Description

Uses the default headers if set to true.

Extra Detail

Default headers: User-Agent: Mozilla/5.0 AppleWebKit/537.36 Chrome/42.0.2311.135 Safari/537.36 Edge/12.246 Content-Type: application/json Cache-Control: no-cache