I'm trying to set custom headers on a HttpClient.DeleteAsync request. I've tried using
httpClient.DefaultRequestHeaders.Add("X-Parse-Application-Id",ParseAppID);
but get this error
Misused header name. Make sure request headers are used with HttpRequestMessage, response headers with HttpResponseMessage, and content headers with HttpContent objects.
HttpClient.SendAsync can send custom request headers with
System.Net.Http.HttpRequestMessage.Headers.Add("X-Parse-Application-Id",ParseAppID);
and HttpClient.PostAsync can send them with
System.Net.Http.StringContent.Headers.Add("X-Parse-Application-Id",ParseAppID);
How can I do this with DeleteAsync?