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

Restconf throws error for action with no output

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 1.13.4, 2.0.3
    • restconf-nb

    Description

      Restconf throws an error when there is no output for the invoked action. But actions with no output are absolutely legal and according to RFC 8040 (section: 3.6. Operation Resource):

      "If the RPC operation is invoked without errors and if the "rpc" or
       "action" statement has no "output" section, the response message
       MUST NOT include a message-body and MUST send a "204 No Content"
       status-line instead."
      
      

      Attachments

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

        Activity

          People

            ivanhrasko Ivan Hrasko
            ivanhrasko Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: