Email me off list Nitish ... we don't want to clog up the list with this sort of traffic

nitish pandey wrote:
Hi ,
Have checked out head from repository link. Have installed run-jetty-run (though don't know how to set it up yet). Was trying to work on cfhttp tag. Couldn't make much progress but did figure this out:
1) gzip support is still required
2) httpconnection of java is designed handle this transparently
3) in openbd we are creating httpconnection from cfengine.thisplatform.gethttpconnection. Not sure where this class is defined. And probably that definition does not leverage the java httpconnection class
4) The behaviour is tabulated here:
getasbinary accept-encoding filecontent when gunzipped
no - html ascii nothing
 no             gzip,deflate         gibberish     nothing
yes gzip,deflate binary html ascii
 yes           -                         binary         nothing

That means either you don't accept gzip but if you want to save on transfer load you must know that gzip is goint to come and hence make getasbinary = yes. How do you know that without connecting up? So you cannot practically optimize on gzip.

The luxury of gzip or the lack thereof continues.... and i hope to be able to use it as my first contribution to openbd.

--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to