hi,it's onebird‘s blog。My homepage is onebird.net.
onebird | 01 十月, 2006 00:23
最近给Httpdownload 封装了支持gzip传输
从HTTP的角度
1 客户端 在http Request Header上带上 Accept-Encoding:gzip,deflate
2服务器若是支持gzip压缩则在http reponse eader
部分返回Content-Encoding: gzip 或者Content-Type: application/x-gzip
3将body部分用gzip解压缩 则得到网页内容.
传说中ie有bug 在处理js css压缩的时候有bug,我不理解 挺简单的怎么会有bug呢.
从gzip的角度
gzip是一种数据格式 默认且目前仅使用deflate算法压缩data部分
zlib也是一种数据格式,使用defalte算法压缩数据部分.
deflate是一种压缩算法,是huffman编码的一种加强
onebird | 30 九月, 2006 23:26
onebird | 29 九月, 2006 22:12
争取下周发布一个小作品。
(查看全文)onebird | 09 九月, 2006 01:32
onebird | 09 九月, 2006 00:45
我认为这是非常不合理的! 主要是无法给形参默认参数了。
error: invalid initialization of non-const reference of type 'std::string&' from a temporary of type 'std::string'
(查看全文)onebird | 05 九月, 2006 00:37
onebird | 29 八月, 2006 21:37
onebird | 27 八月, 2006 15:51
onebird | 27 八月, 2006 12:49
onebird | 27 八月, 2006 01:06
福建 龙岩 永定 南开 酷讯 微软 搜索 广告 推荐 IM 网络应用 技术研发,工程管理 音乐 旅游 IPhone
| « | 十一月 2008 | » | ||||
|---|---|---|---|---|---|---|
| 一 | 二 | 三 | 四 | 五 | 六 | 日 |
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |