in reply to Re^2: How to download a file from the serverin thread How to download a file from the server
it simply displays the content
you need to look the HTTP, at the bytes, try lwp-download or wget --debug and look at the bytes