camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoran Regvart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10985) camel-coap fails to return results when enableCORS(true) is set
Date Thu, 27 Apr 2017 12:53:04 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986552#comment-15986552
] 

Zoran Regvart commented on CAMEL-10985:
---------------------------------------

I concur with [~jamesnetherton] the [RFC7252 section 5.8|https://tools.ietf.org/html/rfc7252#section-5.8]
does not mention {{OPTIONS}} method, this can safely be removed from CoAP.

> camel-coap fails to return results when enableCORS(true) is set
> ---------------------------------------------------------------
>
>                 Key: CAMEL-10985
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10985
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-coap
>    Affects Versions: 2.19.0
>            Reporter: Scott Cranton
>            Priority: Minor
>             Fix For: 2.20.0
>
>
> In the CoAPRestVerbTest, if you add to the restConfiguration() .enableCORS(true), then
all of the unit tests that return a result fail as no response is returned
> https://github.com/apache/camel/blob/master/components/camel-coap/src/test/java/org/apache/camel/coap/CoAPRestVerbTest.java#L106



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message