Hi Carlo,

I've added some new code. There are now three interfaces that let you control the server headers. The ContentStream object that is returned by getContentStream() must implement the interface(s) to trigger the behavior:

ContentLengthContentStream - Sets the Content-Length header and turns chunking off.

LastModifiedContentStream - Sets the Last-Modified header and respects the If-Modified-Since header.

CacheHeaderContentStream - Sets the Cache-Control header, the Expires header, and the ETag header and respects the If-None-Match header.


Please let me know if that works for you.


- Florian


Hi there, sorry for the late reply.

2013/5/7 Florian Müller <[email protected]>

That is surprising. Chunked encoding isn't really exotic.

Definitely, but browsers are always there to remind us that world class standards are nothing different from regional social conventions, are they?


Could you please open an Improvement issue and add a few details. I'll
look into it.

Thanks, here it is <https://issues.apache.org/jira/browse/CMIS-655>.

Reply via email to