<p>I think the answer is that rails doesn't actually set <code>Content-Length</code> at all and what we are seeing is what apache/passenger/webrick are then inventing based on the size of the data.</p>
<p>Of course for a <code>HEAD</code> rails has already discarded the body, hence no length (or a zero length).</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/issues/406#issuecomment-21921740'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOppg4_cdbqBKq_Ar1C3Bb2jwLIKTQ9YT3jUtYjoDOF3o3.gif' height='1' width='1'></p>