You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Krzysztof Jamróz (Jira)" <ji...@apache.org> on 2021/09/27 10:20:00 UTC

[jira] [Created] (CAMEL-17008) okStatusCodeRange does not permit single status code

Krzysztof Jamróz created CAMEL-17008:
----------------------------------------

             Summary: okStatusCodeRange does not permit single status code
                 Key: CAMEL-17008
                 URL: https://issues.apache.org/jira/browse/CAMEL-17008
             Project: Camel
          Issue Type: Bug
          Components: camel-netty-http
    Affects Versions: 3.11.2
            Reporter: Krzysztof Jamróz


It is not possible to set {{okStatusCodeRange}} for netty http to single status code (eg. only {{200}}). Problem is caused by optimization from CAMEL-16215 which does not handle case when there is neither {{"-"}} nor {{","}} in the {{okStatusCodeRange}}.

Workaround it to use single element range: {{200-200}} but it should be possible to set single value.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)