When I send a HEAD request for a task log url (https://evergreen.mongodb.com/task_log_raw/mongoid_driver_oldstable_jruby__mongodb_version~4.0_topology~standalone_jruby~jruby_9.2_driver~oldstable_jruby_test_patch_136ccbc140b25719f48ff5185bb471f90c063148_5ea5cdada4cf472b3deaeb22_20_04_26_18_06_38/0?type=T), I am informed that evergreen does not implement HEAD (via the 405 method not supported error), but the response is not sent properly.
The full log is in https://gist.github.com/p-mongo/23aabf0b6f74b23cc39c464158d9cae9, but transfer hangs for ~10 seconds after which curl prints:
It looks like maybe some headers are missing in the response (content-length:0 perhaps?).
I expected to receive the 405 error, if HEAD is not supported, but with proper payload/headers per the HTTP spec.