Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-742

RFC8040 compliance: The RESTCONF server MUST support the HEAD method

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Cannot Reproduce
    • Aluminium
    • None
    • restconf-nb
    • None
      • ODL aluminum
      • feature:install odl-restconf-nb-rfc8040
      • feature:install odl-toaster

    Description

      https://tools.ietf.org/html/rfc8040#section-4.2
      The RESTCONF server MUST support the HEAD method. The HEAD method is
      sent by the client to retrieve just the header fields (which contain
      the metadata for a resource) that would be returned for the
      comparable GET method, without the response message-body.
      The current behavior is not consistent with the spec

      > curl -u admin:admin -I http://localhost:8181/rests/data/toaster:toaster
      < HTTP/1.1 200 OK
      < Set-Cookie: JSESSIONID=node0tp7ksek0vyu11fvjctgrgqwlw67.node0; Path=/; HttpOnly
      < Expires: Thu, 01 Jan 1970 00:00:00 GMT
      < Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Sun, 01-Nov-2020 22:09:23 GMT
      < ETag: "2009-11-20-toaster"
      < Last-Modified: 2020-Nov-02 22:09:23
      < Content-Type: application/yang-data+json
      < Content-Length: 126

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ivanm1996 Ivan Martiniak
            hjslgfsd7 Valentin Mayamsin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: