Does it give me any advantage if I set this header when generating normal HTML pages?
I see that some frameworks out there will set this header property and I was wo
The main motivation behind it is re-using an existing TCP connection in HTTP 1.1. Content-Length can demarcate where the response ends for the recipient.
As for the other headers, like Content-Type which specifies the MIME-type, they are for the recipient so that she would know what to do with the result depending on the type of the content
For example, in Firefox you can specify what action to perform with different MIME-types. If you can pop-up the browser's save dialog or open a PDF in viewer with Content-Type of application/pdf