Sébastien Geindre pisze: > Grzegorz Kossakowski a écrit : >> Sébastien Geindre pisze: >> >>> hi all, >>> >>> Have you ever heard about a king of stream generator that could rread a >>> gzip compress xml data flow, gunzip it and generate sax events ? >>> >>> Does this kind of generator exist ? >>> >> >> Is this data stored in gzipped file? If so, we have a zip: protocol in >> Cocoon that probably would be >> helpful for you. >> > no, not really. > Imagine a client pushing xml data to a web service, it could push > multipart/x-gzip data instead of txt/xml > > In my use cases, xml data could be heavy. > So instead of StreamGenerator which handle xml flow of data posted by > the client. > I need a GZipStreamGenerator which could hanlde a gzip stream of xml > data....
If you need to handle gzipped POST request then I agree with Daniel's suggestion to take this job out of Cocoon scope. If it can't be done with mod_deflate then it's probably a good idea to create a servlet filter or something like that. I don't think that messing with such low-level details like body compression in Cocoon components is a good idea. -- Grzegorz Kossakowski --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
