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

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

     [ https://issues.apache.org/jira/browse/CAMEL-17008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-17008:
--------------------------------
    Fix Version/s: 3.13.0

> 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
>            Priority: Minor
>             Fix For: 3.13.0
>
>
> 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)