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

Restconf throws error for action with no output

XMLWordPrintable

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

      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."
      
      

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

              Created:
              Updated:
              Resolved: