[openstreetmap-website] Content-Length on HEAD requests (#406)
Tom Hughes
notifications at github.com
Thu Aug 1 08:21:23 UTC 2013
I think the answer is that rails doesn't actually set `Content-Length` at all and what we are seeing is what apache/passenger/webrick are then inventing based on the size of the data.
Of course for a `HEAD` rails has already discarded the body, hence no length (or a zero length).
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/406#issuecomment-21921740
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130801/2ab02c9d/attachment-0001.html>
More information about the rails-dev
mailing list