作者Geniusking (真理斯金)
看板Network
標題[問題] HTTP封包中的Content-encoded entity body (gzip)
時間Sat Mar 20 01:13:54 2010
我用Wireshark抓HTTP的response封包
其中在HTTP chunked response下有一個
Content-encoded entity body (gzip):
1063 bytes -> 4259 bytes
後面那個數字的意思我不懂是什麼?
是說回傳回來的資料是經過gzip壓縮然後解壓後是4259 bytes嗎?
可是我有看過 25 bytes -> 9 bytes 應該不會越解越小吧
所以想請問一下這個數字的真正意思,請不吝賜教(__ __)
--
☆
╭──╮╭──╮┌╭─╮ ○ ┌┐┌┐╭──╮┌┐┌┐ ○ ┌╭─╮╭──┐
│╭─┘│╭╮││╭╮│ ┌┐ │││││╭─╯│╰╭╯ ┌┐ │╭╮││╭╮│
│┌┐││┌─╯││││ ││ │╰┘│╰─╮╮│╭╮╮ ││ ││││╰─┐│
╰──╯╰──╯└┘└┘ └┘ ╰─└┘╰──╯└┘└┘ └┘ └┘└┘╰──╯
http://www.wretch.cc/blog/Geniusking ☆
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.199.172
1F:→ AndCycle:壓縮有overhead, 檔案太小或是無法壓縮都會這樣 03/20 01:32
2F:→ Geniusking:所以這裡是越壓越大囉? 03/20 20:23