Re: [Bojangles-devel] XML Gzipping
Status: Alpha
Brought to you by:
nehresma
From: Nathan E. <neh...@cs...> - 2002-08-21 14:59:23
|
Wesley Widner wrote: > Do we want to include on-the-fly gzipping (and ungzipping when we get > opening functionality)? I don't think this will have a major impact on the > sizes of generated files but it would be interesting to implement... I guess > another advantage would be for posting the XML to centrallix via the web. Yeah, on the fly gzipping would be cool to have as an option at save time, and autodetected at open. > Any of you centrallix developers know how we could accomplish posting an app > through an HTML POST command? actually, an HTTP PUT would be more straight forward for this kind of thing since centrallix supports PUTs. we san use the HttpURLConnection class with setRequestMethod("PUT") to handle the dirty work for us. > Also, what is the URL to get the source of a displayed kardia app? Could we > modify this same routine that spits out the source to accept incomming file > POSTS? nah, those are two different functions of the HTTP protocol (GET and POST). i suggest using PUT instead. here's a list of the HTTP RFCs that define how the HTTP protocol works if interested: http://www.w3.org/Protocols/Specs.html nre |