I created the related issue for you https://jira.jboss.org/jira/browse/EXOJCR-680. I met the same issue that you met, obviously it is due to the content of the description of your issue, but I don't know exactly what was the problem.
I've seen that if we insert some metadata in our document as:
<meta http-equiv="File-NodeType" content="my_ns:my_resource" />
and we upload it through webdav or ftp never happens.
I expect an extraction of theese metadas inside the http headers list. To implement this feature you could add a read during the creation of the org.exoplatform.services.rest.impl.ContainerRequest instance.
Here an example:
public ContainerRequest(String method,
URI requestUri,
URI baseUri,
InputStream entityStream,
MultivaluedMap<String, String> httpHeaders) {
this.method = method;
this.requestUri = requestUri;
this.baseUri = baseUri;
this.entityStream = entityStream;
this.httpHeaders = httpHeaders;
String[] headersFromContent = this.reader.read(entityStream, httpHeaders);
}
this reader could extract the 'http-equiv' inside the content and tail in the httpHeaders
_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev