?

Log in

No account? Create an account
gzip - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

gzip [Aug. 5th, 2003|01:25 pm]
LiveJournal Client Discussions

lj_clients

[quirrc]
Does anyone know if there's a possibility to use gzip encoding when posting/getting friends etc. from a client (non web)?
I tried to add gzip content encoding header to make server reply using that but the result was the same- uncompressed. Maybe I wasn't quite correct with header format since I'm not familiar in detail with this socket stuff or the LJ server doesn't support it at all? The latter case is rather odd since the reply for web interface is always in gzip (if accepted by browser).
I wanted to implement it for posting long entries especially on slow networks like GPRS.
linkReply

Comments:
[User Picture]From: benzado
2003-08-05 05:47 am (UTC)
http://diveintomark.org recently had a to-do list about this and other things an HTTP client should support. Check a few posts back and make sure you are doing everything correctly.
(Reply) (Thread)
[User Picture]From: quirrc
2003-08-05 11:38 pm (UTC)
I checked the link and header specification. It seems that LJ server doesn't account "Accept-Encoding: gzip". Maybe there are some filters installed which content-type to compress.
(Reply) (Parent) (Thread)