content-encoding

Can SVG render partially if gzipped and chunk-transferred?

Hi - I have some large, dynamically generated SVGs that are being served over a relatively slow internet connection. I'm trying to optimize them to be viewable as fast as possible. If I set the server to Content-Encoding: gzip and Transfer-Encoding: chunked, will any SVG viewers take advantage of that and render it partially, as it is...

Apache Deflate - does it wait for the whole page to load first?

I set up a server to use the Apache2 deflate recently. Some people started reporting long waiting times on certain pages. The page in particular is one that takes a long time to load, as it's gathering data from external sources. Usually it loads progressively, which is good for user feedback. The whole page can take 10-15 seconds to f...

gzipped GData POST requests

Is somebody managed to upload gzipped GData POST/PUT requests to Google? Is it even supported or possible? I guess it should be simple as just defining Content-Encoding header with "gzip" but I just get 400 bad requests. ...

sending content-encoding header in django

Hello I want to have a plaintext version of my content available. So I have a separate template for that. I am calling render_to_response with mimetype="text/plain" but i want to tell a browser opening that page in the http-response that the content is utf-8 encoded. How do i do that (e.g. what do i have to add to render_to_response)? ...

IE's XMLhttpRequest's getResponseHeader("Content-Length") absent when Content-Encoded sent

Why won't IE let me see the get the Content-Length header with getResponseHeader()? I know there the headers are being sent; I can see them with Wireshark. IE just won't let me get them. If the Content-Encoding header is NOT sent, regardless of if the content-is gzipped or not, I can get them just fine. Sample Code: function getX...

EclipseLink and database encoding

Hello guys, I am a developer for a global application, which was deployed in a few countries whose languages were not a problem for us. But now, we're going to Slovakia, and we're having a bit of trouble with EclipseLink. We've setup a small web application to test the text encoding on the database for their project. We're able to read...

Handling HTTP ContentEncoding "deflate"

What InputStream type should be used to handle URLConnection streams that have HTTP Content-Encoding set to deflate? For a Content-Encoding of gzip or zip I use a GZIPInputStream, no problem. For a Content-Encoding of "deflate" I have tried using InflaterInputStream and DeflaterInputStream but I get java.util.zip.ZipException: unk...