Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6530

HTTP SiteToSite server returns 201 in case no data is available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.2
    • 1.10.0
    • Core Framework
    • None

    Description

      When MiNiFi or other NiFi connects to a HTTP SiteToSite server, the server always returns 201 in case of transaction creation.

      This is inefficient as transactions are created, tracked and later deleted without anything really being transmitted. According to comments in MiNiFI code 200 should be returned in such case, although 204 would be a better choice in HTTP standard point of view. 

      Attachments

        Issue Links

          Activity

            People

              aboda Arpad Boda
              aboda Arpad Boda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h 40m
                  6h 40m