Skip to content

Problematic call to HttpClient when trying to determine the media type #1953

@darrelmiller

Description

@darrelmiller

var response = _httpClient.GetAsync(url).GetAwaiter().GetResult();

This can't hide a potentially expensive HTTP request inside a method like this. We are going to have to find another way of accessing the media type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7days

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions