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

PUT method returns wrong status code when new resource is created

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf-nb
    • None
    • Operating System: Linux
      Platform: Other

    • 2594

    Description

      When creating new resource with PUT method, status code 200 OK is returned.
      But RESTCONF Protocol draft-bierman-netconf-restconf-04 says:
      Consistent with [RFC2616], if the PUT method creates a new resource,
      a "201 Created" Status-Line is returned. If an existing resource is
      modified, either "200 OK" or "204 No Content" are returned.

      Attachments

        Issue Links

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

          Activity

            People

              jakubtoth-0 Jakub Toth
              amarcine@cisco.com Andrej Marcinek
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: