docs: public Headers getAllHeaders() {
          Headers requestHeaders = getHeaders();
          requestHeaders = hasPayload() ? requestHeaders.withContentType(getPayload().get().getMimeType()) : requestHeaders;
          //We don't want to add headers more than once.
          return requestHeaders;
      }