THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.

Revision history  [back]

Content-Length vs Packet Length

Hi, I've a small confusion:

Content-Length header - Number denoting an the exact byte length of the HTTP body.

Packet Length - Specifies the length of the entire IP packet

While analysing a capture, I see Content-Length = 96544 and packet length = 22310 on Wireshark.

Question: If Packet Length has the length of entire packet (including Content-Length), how come Content-Length is bigger than Packet Length? am I missing something?

Content-Length vs Packet Length

Hi, I've a small confusion:

Content-Length header - Number denoting an the exact byte length of the HTTP body.

body Packet Length - Specifies the length of the entire IP packet

While analysing a capture, I see Content-Length = 96544 and packet length = 22310 on Wireshark.

Question: If Packet Length has the length of entire packet (including Content-Length), how come Content-Length is bigger than Packet Length? am I missing something?