Man page says
-U Print request headers in addition to request method and absolute URL.
And we see
GET http://zzz
User-Agent: lwp-request/2.08
However tcpflow reveals the missing "HTTP/1.1", and indeed several other
lines of headers being sent.
tag 469350 +moreinfo thanks Hi, can you please provide an example with all the differences between the two tools? Cheers Antonio
You can get the real output by doing: tcpdump -i lo -w tcpdump.txt and the output in question by doing HEAD -U http://localhost/ In the former we have GET / HTTP/1.1 TE: deflate,gzip;q=0.3 Connection: TE, close Host: localhost User-Agent: lwp-request/5.834 libwww-perl/5.836 In the latter GET http://localhost User-Agent: lwp-request/5.834 libwww-perl/5.836 I am not entirely sure that this is a real problem, but at least there is a prima facie case.