Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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?