Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-7893

HEAD requests are not properly responded to

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: app
    • Labels:

      Description

      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:

      curl: (18) transfer closed with outstanding read data remaining
      

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-evg Backlog - Evergreen Team
              Reporter:
              oleg.pudeyev Oleg Pudeyev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: