Thanks for the useful feedback Cyril! :-)
Hi Andy, all,It's hard to be constructive in 140 characters, so thanks for letting meelaborate on this list.My concerns are related to the "RESTful HTTP Rendering" spec [1], which viewsHTTP headers as the primary mean of transferring resource representationsbetween a user-agent and an OCCI server. I can see how you you may have endedthere (no need to define a media type, "universality" of the HTTP protocol,new RFC drafts about `Category` [4] and `Link` [5] headers popping up, etc.),but that just looks wrong to me for the following reasons:* The most obvious, and a point that you raise in the spec [1], is that theHTTP header max size is often limited by intermediaries (for instance,default limit on Squid is 20KB [2]), while body max size is not. The specwarns:"Space in the HTTP header section of a HTTP request is a limited resource.By this, it is noted that many HTTP servers limit the number of bytes thatcan be placed in the HTTP Header area. Implementers MUST be aware of thislimitation in their own implementation and take appropriate measures so thattruncation of header data does NOT occur."You can't assume that there won't be intermediaries between the user-agentand the server (proxies, caches, etc.), therefore I don't see how animplementer can do anything about the header size limit, which means it issafe to assume that the HTTP Rendering via `text/occi` is broken (unless youhave already thought about a possible solution, in which case it should beincluded in the spec). You can't even use the `Content-MD5` [3] header toprovide an end-to-end message integrity check. And the message header is notcompressible, contrary to the message body.* More generally, methods and headers are there to indicate the purpose of arequest, not the resource representation itself.* Finally, you define a `text/occi` content-type, which looks like an emptyshell. I mean, if I understand correctly, the only payload you'll ever haveis "OK" on successful operations. AFAIK, a media type definition [6] ismainly about the structure and semantics of the message body. It's not aboutdefining custom HTTP headers to replace the message body.I also have some concerns about the filtering mechanism, linking mechanism andthe way you define actions, but if I had to sum up my position it would bethat I have the feeling that you went extreme with the REST concept, and triedto put in the spec as much novelty (in terms of recent HTTP-relatedspecs/drafts) as you could. Nothing wrong with that, but the result issomewhat convoluted. Also, the decision to put everything in the header partof the message renders a lot of standard HTTP header fields useless.I appreciate the effort and time it takes to build a spec like this. From astandardization body though, I would have expected that you properly define anew media type for the rendering, not custom header extensions. I recall a(now dead?) XHTML based rendering doc, which had some flaws but was going morein that direction. I can see that you plan on specifying new content types inthe future: I think it would be good to shift the attention back to the body.Thank you for your time.Best Regards,Cyril--On 8 Jul 2011, at 18:03, Andy Edmonds wrote:Hey Cyril,I saw some of your comments [1] [2] on twitter about OCCI. It'd be great if you could elaborate on them on the list as everyone here really values useful and constructive comments and critique.BTW: you might have been viewing older OCCI specs. The latest published are here [3].Cheers,