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 15:56:00 UTC
[jira] [Resolved] (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 resolved CAMEL-17008.
---------------------------------
Resolution: Fixed
> 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.11.3, 3.12.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)