Currently the client doesn't provide a way to add the following allowed headers:
I would like to add support for all of the headers expected for basic object creation or retrieval.
In terms of implementation, the approach so far has been additional parameters to the post/put/get/patch methods, which may get unwieldy with the full set of options. I would favor a method override of the form:
public FcrepoResponse post(final URI url, final InputStream body, final Map headers)
Possibly with restrictions in each method so that it can only set allowed headers, but that may be iffy since some methods cover multiple endpoints with different headers allowed.
I'm not all that informed about camel, but I believe this would work there too?