With *camel-restlet 2.13.*1, my code used to look into*
org.restlet.http.headers* to identify the Content-Type, I upgraded to*
camel-restlet 2.14.0*, and my code is failing, as it wasn't able to find the
Content-Type in the org.restlet.http.headers
On comparing the headers in both versions, I see that camel-restlet 2.14.0
has *Content-type* instead of* Content-Type*.
Series<NamedValue;String>> series = (Series<NamedValue;String>>)
headerMap.get("org.restlet.http.headers");
*camel-restlet 2.13.1*
{pattern=users, org.restlet.http.headers=[[Host: localhost:8090],
[User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101
Firefox/32.0], [Accept: application/xml], [Accept-Language: en-US,en;q=0.5],
[Accept-Encoding: gzip,deflate], *[Content-Type: application/xml]*,
[Connection: keep-alive]], org.restlet.startTime=1411585568763}
*camel-restlet 2.14.0*
[*[Content-type: application/xml]*, [Host: localhost:8090],
[Accept-encoding: gzip,deflate], [Connection: keep-alive], [Accept-language:
en-US,en;q=0.5], [User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0)
Gecko/20100101 Firefox/32.0], [Accept: application/xml]]
org.restlet.http.headers* to identify the Content-Type, I upgraded to*
camel-restlet 2.14.0*, and my code is failing, as it wasn't able to find the
Content-Type in the org.restlet.http.headers
On comparing the headers in both versions, I see that camel-restlet 2.14.0
has *Content-type* instead of* Content-Type*.
Series<NamedValue;String>> series = (Series<NamedValue;String>>)
headerMap.get("org.restlet.http.headers");
*camel-restlet 2.13.1*
{pattern=users, org.restlet.http.headers=[[Host: localhost:8090],
[User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101
Firefox/32.0], [Accept: application/xml], [Accept-Language: en-US,en;q=0.5],
[Accept-Encoding: gzip,deflate], *[Content-Type: application/xml]*,
[Connection: keep-alive]], org.restlet.startTime=1411585568763}
*camel-restlet 2.14.0*
[*[Content-type: application/xml]*, [Host: localhost:8090],
[Accept-encoding: gzip,deflate], [Connection: keep-alive], [Accept-language:
en-US,en;q=0.5], [User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0)
Gecko/20100101 Firefox/32.0], [Accept: application/xml]]