diff --git a/hapi-fhir-client-okhttp/src/main/java/ca/uhn/fhir/okhttp/client/OkHttpRestfulRequest.java b/hapi-fhir-client-okhttp/src/main/java/ca/uhn/fhir/okhttp/client/OkHttpRestfulRequest.java index 5ad07eceb2d..e8569f9c755 100644 --- a/hapi-fhir-client-okhttp/src/main/java/ca/uhn/fhir/okhttp/client/OkHttpRestfulRequest.java +++ b/hapi-fhir-client-okhttp/src/main/java/ca/uhn/fhir/okhttp/client/OkHttpRestfulRequest.java @@ -94,4 +94,9 @@ public class OkHttpRestfulRequest implements IHttpRequest { return myRequestTypeEnum.name(); } + @Override + public void removeHeaders(String theHeaderName) { + myRequestBuilder.removeHeader(theHeaderName); + } + }