<p>On a HEAD request for an existing node the rails port returns <code>Content-Length: 0</code>.</p>
<p>On a GET request for that same node it returns (in this case) <code>Content-Length: 400</code>.</p>
<p>RFC 2616 states</p>
<blockquote>
<p>The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the information sent in response to a GET request.</p>
</blockquote>
<p>It then goes on to suggest that caches can use a difference in <code>Content-Length</code> to detect when the content has changed.</p>
<p>Probably not worth any real concern, but my integration testing shows a failing test, so I wanted a bug number.</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'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOppg4_cdbqBKq_Ar1C3Bb2jwLIKTQ9YT3jUtYjoDOF3o3.gif' height='1' width='1'></p>