Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18896

Artifactory violates RFC-7231 (HTTP 1.1) §6.5.5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 6.7.6
    • Fix Version/s: None
    • Component/s: Web REST API
    • Labels:
    • Environment:

      I've used curl 7.52.1 on Linux and curl 7.54.0 on a Mac.

      I don't know the Artifactory server environment.

      Description

      When using Artifactory Enterprise 6.7.6 rev 60706900 at $WORK, I tried a:

      curl --verbose  -H auth_stuff -T xxxfilexxx https://host/path/

      And got a 405 "Method not allowed" response, but no Allow header (actually no headers displayed).

      Per the HTTP 1.1 spec, §6.5.5 "405 Method Not Allowed":

      [...] The origin server MUST generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods.

      I've done this several times. The curl verbose output indicates it's switching to HTTP/2, in case that matters. (Perhaps that's why no response headers at all are displayed in this case?)

       

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              larry_west Larry West (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: