Let's say user send an "OPTIONS" request(preflight request) with a request parameter, "id":
curl -v --location --request OPTIONS 'http://localhost:8080/reproducer/example?id=bob'
Camel will store this request parameter in Exchange.header.
The problem is a response for this OPTIONS request. It contains the request option, "id", as a response header.
This behavior will bring ERR_INVALID_HTTP_RESPONSE error on some browser.
For example, if Japanese character(whitespace) is passed on chrome browser, the ERROR occurs on the browser.
- Red Hat Fuse
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.