in reply to simple use of Net::HTTP

The html file content is part of the body, not of the header. You're only retrieving the header from your object so far.

The documentation has an example of how to retrieve the body.

But do you really need such a low level interface? LWP::Simple or LWP::UserAgent are much more high level, and usually recommended.