[
https://issues.apache.org/jira/browse/NIFI-6530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924118#comment-16924118
]
ASF subversion and git services commented on NIFI-6530:
-------------------------------------------------------
Commit f01668e66ad2e45197915769e966a4be27e1592e in nifi's branch
refs/heads/master from Arpad Boda
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f01668e ]
NIFI-6530 - HTTP SiteToSite server returns 201 in case no data is available
This closes #3647.
Signed-off-by: Koji Kawamura <[email protected]>
> HTTP SiteToSite server returns 201 in case no data is available
> ---------------------------------------------------------------
>
> Key: NIFI-6530
> URL: https://issues.apache.org/jira/browse/NIFI-6530
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.9.2
> Reporter: Arpad Boda
> Priority: Major
> Time Spent: 5h 50m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)