chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlo Sciolla <>
Subject Re: Chunked transfer encoding
Date Wed, 08 May 2013 14:05:52 GMT
Hi Florian,

thanks for your quick commit, I will experiment a bit with it and let you
know what comes out of it. I do already have some initial comments anyway:

- I see you only addressed the browser bindings implementation. While I can
see the reason behind it, I think it won't hurt to also apply a similar
logic to the AtomPub binding

- as I'm stuck with v0.6.0, I'm looking into ways to backport or integrate
your code in my app. The current logic for method dispatch in AtomPub goes
against extensibility (and some object oriented design principles, IMO) and
while for the time being I can work around it, would you guys consider
refactoring the dispatch logic to make use of non-final classes / no
reflection / public constructors?


2013/5/8 Florian Müller <>

> 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 <>
>>  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 <**jira/browse/CMIS-655<>
>> >.

Carlo Sciolla

Linux User #372086
My personal blog:
Follow me on twitter:
 <>Fork me on Github:
<>My LinkedIn profile:

Product Lead at Backbase - Next Generation Portal Software for Financials &
Large Enterprises (

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message