Skip to content

Remove org.apache.http.HttpHeaders dependency in OkHttpClientAdapter #266

@paulboocock

Description

Describe the bug
We still import in org.apache.http.HttpHeaders within OkHttpClientAdapter, however OkHttp no longer imports HttpClient like it used to (a long time ago!).

We don't actually need to use this import, we can just use the string values for the HttpHeader values.

.addHeader(HttpHeaders.CONTENT_TYPE, Constants.POST_CONTENT_TYPE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:completedCompleted - but might not be released yet.type:defectBugs or weaknesses. The issue has to contain steps to reproduce.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions