Github user joewitt commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2283#discussion_r152381607
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenHTTP.java
 ---
    @@ -126,6 +126,12 @@
             .addValidator(StandardValidators.REGULAR_EXPRESSION_VALIDATOR)
             .required(false)
             .build();
    +    public static final PropertyDescriptor RETURN_CODE = new 
PropertyDescriptor.Builder()
    +           .name("Return Code")
    +           .description("The HTTP return code returned after every HTTP 
call")
    +           .required(true)
    --- End diff --
    
    since it is defaulting to 200 which is what it always was and is optional 
I'd recommend we remove this line


---

Reply via email to